DocumentsadministrationUsecase#ViewPaginationCategoriesAndTags
      DocumentsadministrationUsecase#SetUp
    • +
      Running echo message: "Checking to see if Mobile Device is enabled..."
    • Running echo with parameter Checking to see if Mobile Device is enabled...
      Running isMobileDeviceEnabled
    • +
      Running echo message: "Checking to see if TCat is enabled..."
    • Running echo with parameter Checking to see if TCat is enabled...
      Running isTCatEnabled
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running IsElementPresent#isElementPresent with locator-key Dockbar#USER_NAME
    • Running isElementPresent with parameter //span[@class='user-full-name']
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#type with locator-key PGLogin#EMAIL_ADDRESS_FIELD value test@liferay.com
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //input[@id='_58_login']
      Running mouseOver with parameter //input[@id='_58_login']
      Running type with parameters //input[@id='_58_login'] test@liferay.com
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#type with locator-key PGLogin#PASSWORD_FIELD value test
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //input[@id='_58_password']
      Running mouseOver with parameter //input[@id='_58_password']
      Running type with parameters //input[@id='_58_password'] test
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Click#click with locator-key PGLogin#SIGN_IN_BUTTON value Sign In
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //form[contains(@class,'sign-in-form')]/div/button
      Running mouseOver with parameter //form[contains(@class,'sign-in-form')]/div/button
      Running click with parameter //form[contains(@class,'sign-in-form')]/div/button
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running IsElementPresent#isElementPresent with locator-key PGLoginTermsofservice#I_AGREE_BUTTON value I Agree
    • Running isElementPresent with parameter //button[contains(.,'I Agree')]
    • +
      Running AssertClick#assertClick with locator-key PGLoginTermsofservice#I_AGREE_BUTTON value I Agree
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //button[contains(.,'I Agree')]
      Running waitForText with parameters //button[contains(.,'I Agree')] I Agree
      Running assertText with parameters //button[contains(.,'I Agree')] I Agree
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //button[contains(.,'I Agree')]
      Running clickAt with parameters //button[contains(.,'I Agree')] I Agree
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running IsElementPresent#isElementPresent with locator-key PGLoginNewpassword#PASSWORD_FIELD
    • Running isElementPresent with parameter //input[@id='password1']
    • +
      Running IsElementPresent#isElementPresent with locator-key PGLoginPasswordreminder#ANSWER_FIELD
    • Running isElementPresent with parameter //input[@id='reminderQueryAnswer']
    • +
      Running Type#type with locator-key PGLoginPasswordreminder#ANSWER_FIELD value test
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //input[@id='reminderQueryAnswer']
      Running mouseOver with parameter //input[@id='reminderQueryAnswer']
      Running type with parameters //input[@id='reminderQueryAnswer'] test
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGLoginPasswordreminder#SAVE_BUTTON value Save
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //button[contains(.,'Save')]
      Running waitForText with parameters //button[contains(.,'Save')] Save
      Running assertText with parameters //button[contains(.,'Save')] Save
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //button[contains(.,'Save')]
      Running clickAt with parameters //button[contains(.,'Save')] Save
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
          DocumentsadministrationUsecase#ViewPaginationCategoriesAndTags
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertTextClickAtClickDockbar with locator-key Dockbar#ADMIN value Admin
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 1000
      Running waitForElementPresent with parameter //div[@id='_145_dockbar']
      Running mouseOver with parameter //li[@id='_145_adminLinks']/a
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/node.js')]
      Running waitForVisible with parameter //li[@id='_145_adminLinks']/a
      Running waitForText with parameters //li[@id='_145_adminLinks']/a Admin
      Running assertText with parameters //li[@id='_145_adminLinks']/a Admin
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[@id='_145_adminLinks']/a
      Running clickAt with parameters //li[@id='_145_adminLinks']/a Admin
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Dockbar#ADMIN_SITE_ADMINISTRATION_CONTENT value Content
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[@id='_145_adminLinks']/ul/li/ul/li/a[contains(.,'Content')]
      Running waitForText with parameters //li[@id='_145_adminLinks']/ul/li/ul/li/a[contains(.,'Content')] Content
      Running assertText with parameters //li[@id='_145_adminLinks']/ul/li/ul/li/a[contains(.,'Content')] Content
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[@id='_145_adminLinks']/ul/li/ul/li/a[contains(.,'Content')]
      Running clickAt with parameters //li[@id='_145_adminLinks']/ul/li/ul/li/a[contains(.,'Content')] Content
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running IsElementPresent#isElementPresent with locator-key Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED value Content
    • Running isElementPresent with parameter //div[contains(@class,'toggler-header-collapsed')]/div[contains(.,'Content')]
    • +
      Running AssertClick#assertPartialTextClickAtCPNavigation with locator-key Home#SITE_ADMINISTRATION_NAVIGATION value Categories
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/message.js')]
      Running waitForVisible with parameter //ul[@class='category-portlets']/li[contains(.,'Categories')]/a | //ul[@class='category-portlets']/li/span[contains(.,'Categories')]/a
      Running waitForPartialText with parameters //ul[@class='category-portlets']/li[contains(.,'Categories')]/a | //ul[@class='category-portlets']/li/span[contains(.,'Categories')]/a Categories
      Running assertPartialText with parameters //ul[@class='category-portlets']/li[contains(.,'Categories')]/a | //ul[@class='category-portlets']/li/span[contains(.,'Categories')]/a Categories
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //ul[@class='category-portlets']/li[contains(.,'Categories')]/a | //ul[@class='category-portlets']/li/span[contains(.,'Categories')]/a
      Running clickAt with parameters //ul[@class='category-portlets']/li[contains(.,'Categories')]/a | //ul[@class='category-portlets']/li/span[contains(.,'Categories')]/a Categories
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key CPCategories#VOCABULARY_ENTRY value Topic
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(.,'Topic')]/a/span
      Running waitForText with parameters //li[contains(.,'Topic')]/a/span Topic
      Running assertText with parameters //li[contains(.,'Topic')]/a/span Topic
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(.,'Topic')]/a/span
      Running clickAt with parameters //li[contains(.,'Topic')]/a/span Topic
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key CPCategories#ADD_CATEGORY_BUTTON value Add Category
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[@id='_147_addCategoryButton']/a
      Running waitForText with parameters //li[@id='_147_addCategoryButton']/a Add Category
      Running assertText with parameters //li[@id='_147_addCategoryButton']/a Add Category
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[@id='_147_addCategoryButton']/a
      Running clickAt with parameters //li[@id='_147_addCategoryButton']/a Add Category
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#type with locator-key CPCategoriesAdd#NAME_FIELD value Category Name
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //input[@id='_147_categoryName']
      Running mouseOver with parameter //input[@id='_147_categoryName']
      Running type with parameters //input[@id='_147_categoryName'] Category Name
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#type with locator-key CPCategoriesAdd#DESCRIPTION_FIELD value ${localizationName}
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@id='_147_categoryDescriptionBoundingBox']/textarea
      Running mouseOver with parameter //span[@id='_147_categoryDescriptionBoundingBox']/textarea
      Running type with parameters //span[@id='_147_categoryDescriptionBoundingBox']/textarea ${localizationName}
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key CPCategoriesAdd#SAVE_BUTTON value Save
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //button[contains(.,'Save')]
      Running waitForText with parameters //button[contains(.,'Save')] Save
      Running assertText with parameters //button[contains(.,'Save')] Save
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //button[contains(.,'Save')]
      Running clickAt with parameters //button[contains(.,'Save')] Save
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key CPCategories#SUCCESS_MESSAGE value Your request processed successfully.
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[contains(@class,'lfr-message-response') and contains(@class,'alert') and contains(@class,'alert-success')]
      Running waitForText with parameters //div[contains(@class,'lfr-message-response') and contains(@class,'alert') and contains(@class,'alert-success')] Your request processed successfully.
      Running assertText with parameters //div[contains(@class,'lfr-message-response') and contains(@class,'alert') and contains(@class,'alert-success')] Your request processed successfully.
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key CPCategories#VOCABULARY_CATEGORY_LABEL value Category Name
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@id='categoriesTreeContainer']/ul/li[contains(.,'Category Name')]/div
      Running waitForText with parameters //div[@id='categoriesTreeContainer']/ul/li[contains(.,'Category Name')]/div Category Name
      Running assertText with parameters //div[@id='categoriesTreeContainer']/ul/li[contains(.,'Category Name')]/div Category Name
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Home#PAGE value Welcome
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(@class,'add-page')]/a[contains(.,'Welcome')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Welcome')]
      Running waitForText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Welcome')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Welcome')] Welcome
      Running assertText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Welcome')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Welcome')] Welcome
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(@class,'add-page')]/a[contains(.,'Welcome')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Welcome')]
      Running clickAt with parameters //li[contains(@class,'add-page')]/a[contains(.,'Welcome')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Welcome')] Welcome
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Click#click with locator-key Dockbar#ADD value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //a[@id='_145_addPanel']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running click with parameter //a[@id='_145_addPanel']
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Dockbar#ADD_PAGE_LINK value Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Page')]
      Running waitForText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Page')] Page
      Running assertText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Page')] Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Page')]
      Running clickAt with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Page')] Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#type with locator-key Dockbar#ADD_PAGE_NAME_FIELD value Documents and Media Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //input[@id='_145_addLayoutName']
      Running mouseOver with parameter //input[@id='_145_addLayoutName']
      Running type with parameters //input[@id='_145_addLayoutName'] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Dockbar#ADD_PAGE_BUTTON value Add Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //button[contains(.,'Add Page')]
      Running waitForText with parameters //button[contains(.,'Add Page')] Add Page
      Running assertText with parameters //button[contains(.,'Add Page')] Add Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //button[contains(.,'Add Page')]
      Running clickAt with parameters //button[contains(.,'Add Page')] Add Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Home#PAGE value Documents and Media Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running waitForText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running clickAt with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Home#PAGE value Documents and Media Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running waitForText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running clickAt with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Click#clickAtSidebarClickAt with locator-key Dockbar#ADD value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 1000
      Running waitForElementPresent with parameter //ul[@class='nav nav-add-controls']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/node.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //a[@id='_145_addPanel']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running clickAt with parameters //a[@id='_145_addPanel'] Add
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertTextClickAtAddApplication with locator-key Dockbar#ADD_APPLICATION_LINK value Applications
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/dockbar_add_page.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running waitForText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running clickAt with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#sendKeysApplicationSearch with locator-key Dockbar#ADD_APPLICATION_SEARCH_FIELD value Tags Navigation
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/autocomplete-filters/autocomplete-filters-min.js')]
      Running waitForVisible with parameter //input[@id='_145_searchApplication']
      Running mouseOver with parameter //input[@id='_145_searchApplication']
      Running sendKeys with parameters //input[@id='_145_searchApplication'] Tags Navigation
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#pauseMakeVisibleAssertTextEqualsClickAt with locator-key Dockbar#//span[@data-title="Tags Navigation" and contains(@class,'add-content-item')] value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running makeVisible with parameter //span[@data-title="Tags Navigation" and contains(@class,'add-content-item')]
      Running waitForVisible with parameter //span[@data-title="Tags Navigation" and contains(@class,'add-content-item')]
      Running waitForText with parameters //span[@data-title="Tags Navigation" and contains(@class,'add-content-item')] Add
      Running mouseDown with parameter //span[@data-title="Tags Navigation" and contains(@class,'add-content-item')]
      Running pause with parameter 1000
      Running mouseUp with parameter //span[@data-title="Tags Navigation" and contains(@class,'add-content-item')]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running echo message: "Adding Tags Navigation portlet..."
    • Running echo with parameter Adding Tags Navigation portlet...
    • +
      Running Pause#pause with locator-key 5000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 5000
    • +
      Running IsElementPresent#isElementPresent with locator-key Home#PORTLET
    • Running isElementPresent with parameter //section[header/h1[contains(.,"Tags Navigation")]]
    • +
      Running AssertElementPresent#assertElementPresent with locator-key Home#PORTLET
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //section[header/h1[contains(.,"Tags Navigation")]]
      Running assertElementPresent with parameter //section[header/h1[contains(.,"Tags Navigation")]]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Home#PAGE value Documents and Media Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running waitForText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running clickAt with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Click#clickAtSidebarClickAt with locator-key Dockbar#ADD value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 1000
      Running waitForElementPresent with parameter //ul[@class='nav nav-add-controls']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/node.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //a[@id='_145_addPanel']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running clickAt with parameters //a[@id='_145_addPanel'] Add
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertTextClickAtAddApplication with locator-key Dockbar#ADD_APPLICATION_LINK value Applications
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/dockbar_add_page.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running waitForText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running clickAt with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#sendKeysApplicationSearch with locator-key Dockbar#ADD_APPLICATION_SEARCH_FIELD value Categories Navigation
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/autocomplete-filters/autocomplete-filters-min.js')]
      Running waitForVisible with parameter //input[@id='_145_searchApplication']
      Running mouseOver with parameter //input[@id='_145_searchApplication']
      Running sendKeys with parameters //input[@id='_145_searchApplication'] Categories Navigation
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#pauseMakeVisibleAssertTextEqualsClickAt with locator-key Dockbar#//span[@data-title="Categories Navigation" and contains(@class,'add-content-item')] value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running makeVisible with parameter //span[@data-title="Categories Navigation" and contains(@class,'add-content-item')]
      Running waitForVisible with parameter //span[@data-title="Categories Navigation" and contains(@class,'add-content-item')]
      Running waitForText with parameters //span[@data-title="Categories Navigation" and contains(@class,'add-content-item')] Add
      Running mouseDown with parameter //span[@data-title="Categories Navigation" and contains(@class,'add-content-item')]
      Running pause with parameter 1000
      Running mouseUp with parameter //span[@data-title="Categories Navigation" and contains(@class,'add-content-item')]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running echo message: "Adding Categories Navigation portlet..."
    • Running echo with parameter Adding Categories Navigation portlet...
    • +
      Running Pause#pause with locator-key 5000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 5000
    • +
      Running IsElementPresent#isElementPresent with locator-key Home#PORTLET
    • Running isElementPresent with parameter //section[header/h1[contains(.,"Categories Navigation")]]
    • +
      Running AssertElementPresent#assertElementPresent with locator-key Home#PORTLET
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //section[header/h1[contains(.,"Categories Navigation")]]
      Running assertElementPresent with parameter //section[header/h1[contains(.,"Categories Navigation")]]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Home#PAGE value Documents and Media Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running waitForText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running clickAt with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Click#clickAtSidebarClickAt with locator-key Dockbar#ADD value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 1000
      Running waitForElementPresent with parameter //ul[@class='nav nav-add-controls']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/node.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //a[@id='_145_addPanel']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running clickAt with parameters //a[@id='_145_addPanel'] Add
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertTextClickAtAddApplication with locator-key Dockbar#ADD_APPLICATION_LINK value Applications
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/dockbar_add_page.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running waitForText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running clickAt with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#sendKeysApplicationSearch with locator-key Dockbar#ADD_APPLICATION_SEARCH_FIELD value Documents and Media Display
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/autocomplete-filters/autocomplete-filters-min.js')]
      Running waitForVisible with parameter //input[@id='_145_searchApplication']
      Running mouseOver with parameter //input[@id='_145_searchApplication']
      Running sendKeys with parameters //input[@id='_145_searchApplication'] Documents and Media Display
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#pauseMakeVisibleAssertTextEqualsClickAt with locator-key Dockbar#xpath=(//span[@data-title="Documents and Media Display" and contains(@class,'add-content-item')])[2] value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running makeVisible with parameter xpath=(//span[@data-title="Documents and Media Display" and contains(@class,'add-content-item')])[2]
      Running waitForVisible with parameter xpath=(//span[@data-title="Documents and Media Display" and contains(@class,'add-content-item')])[2]
      Running waitForText with parameters xpath=(//span[@data-title="Documents and Media Display" and contains(@class,'add-content-item')])[2] Add
      Running mouseDown with parameter xpath=(//span[@data-title="Documents and Media Display" and contains(@class,'add-content-item')])[2]
      Running pause with parameter 1000
      Running mouseUp with parameter xpath=(//span[@data-title="Documents and Media Display" and contains(@class,'add-content-item')])[2]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running echo message: "Adding Documents and Media Display portlet..."
    • Running echo with parameter Adding Documents and Media Display portlet...
    • +
      Running Pause#pause with locator-key 5000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 5000
    • +
      Running IsElementPresent#isElementPresent with locator-key Home#PORTLET
    • Running isElementPresent with parameter //section[header/h1[contains(.,"Documents and Media Display")]]
    • +
      Running AssertElementPresent#assertElementPresent with locator-key Home#PORTLET
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //section[header/h1[contains(.,"Documents and Media Display")]]
      Running assertElementPresent with parameter //section[header/h1[contains(.,"Documents and Media Display")]]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Open#open with locator-key /web/guest
    • Running saveScreenshotBeforeAction with parameter false
      Running selectWindow with parameter null
      Running selectFrame with parameter relative=top
      Running open with parameter /web/guest
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key Home#PAGE value Documents and Media Page
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running waitForText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertText with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')]
      Running clickAt with parameters //li[contains(@class,'add-page')]/a[contains(.,'Documents and Media Page')] | //li[contains(@class,'lfr-nav-item')]/a[contains(.,'Documents and Media Page')] Documents and Media Page
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Click#clickAtSidebarClickAt with locator-key Dockbar#ADD value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 1000
      Running waitForElementPresent with parameter //ul[@class='nav nav-add-controls']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/node.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //a[@id='_145_addPanel']
      Running mouseOver with parameter //a[@id='_145_addPanel']
      Running clickAt with parameters //a[@id='_145_addPanel'] Add
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertTextClickAtAddApplication with locator-key Dockbar#ADD_APPLICATION_LINK value Applications
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/html/js/liferay/dockbar_add_page.js')]
      Running pause with parameter 1000
      Running waitForVisible with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running waitForText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertText with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')]
      Running clickAt with parameters //div[@id='_145_addPanelContainer']/ul/li/a[contains(.,'Applications')] Applications
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Type#sendKeysApplicationSearch with locator-key Dockbar#ADD_APPLICATION_SEARCH_FIELD value Documents and Media
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //script[contains(@src,'/autocomplete-filters/autocomplete-filters-min.js')]
      Running waitForVisible with parameter //input[@id='_145_searchApplication']
      Running mouseOver with parameter //input[@id='_145_searchApplication']
      Running sendKeys with parameters //input[@id='_145_searchApplication'] Documents and Media
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#pauseMakeVisibleAssertTextEqualsClickAt with locator-key Dockbar#//span[@data-title="Documents and Media" and contains(@class,'add-content-item')] value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running makeVisible with parameter //span[@data-title="Documents and Media" and contains(@class,'add-content-item')]
      Running waitForVisible with parameter //span[@data-title="Documents and Media" and contains(@class,'add-content-item')]
      Running waitForText with parameters //span[@data-title="Documents and Media" and contains(@class,'add-content-item')] Add
      Running mouseDown with parameter //span[@data-title="Documents and Media" and contains(@class,'add-content-item')]
      Running pause with parameter 1000
      Running mouseUp with parameter //span[@data-title="Documents and Media" and contains(@class,'add-content-item')]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running echo message: "Adding Documents and Media portlet..."
    • Running echo with parameter Adding Documents and Media portlet...
    • +
      Running Pause#pause with locator-key 5000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 5000
    • +
      Running Pause#pause with locator-key 30000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 30000
    • +
      Running IsElementPresent#isElementPresent with locator-key Home#PORTLET
    • Running isElementPresent with parameter //section[header/h1[contains(.,"Documents and Media")]]
    • +
      Running AssertElementPresent#assertElementPresent with locator-key Home#PORTLET
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //section[header/h1[contains(.,"Documents and Media")]]
      Running assertElementPresent with parameter //section[header/h1[contains(.,"Documents and Media")]]
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#waitForDMHomeAssertTextEqualsClick with locator-key PGDocumentsandmedia#TOOLBAR_ADD value Add
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForElementPresent with parameter //a[contains(@class,'browse-folder')]
      Running pause with parameter 1500
      Running waitForVisible with parameter //ul[@id='_20_toolbarContainer']/li/a/span[contains(.,'Add')]
      Running waitForText with parameters //ul[@id='_20_toolbarContainer']/li/a/span[contains(.,'Add')] Add
      Running assertText with parameters //ul[@id='_20_toolbarContainer']/li/a/span[contains(.,'Add')] Add
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //ul[@id='_20_toolbarContainer']/li/a/span[contains(.,'Add')]
      Running clickAt with parameters //ul[@id='_20_toolbarContainer']/li/a/span[contains(.,'Add')] Add
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmedia#ADD_MENULIST_MULTIPLE_DOCUMENTS value Multiple Documents
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //a[@role='menuitem' and contains(.,'Multiple Documents')]
      Running waitForText with parameters //a[@role='menuitem' and contains(.,'Multiple Documents')] Multiple Documents
      Running assertText with parameters //a[@role='menuitem' and contains(.,'Multiple Documents')] Multiple Documents
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //a[@role='menuitem' and contains(.,'Multiple Documents')]
      Running clickAt with parameters //a[@role='menuitem' and contains(.,'Multiple Documents')] Multiple Documents
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Command failure assertLiferayErrors: Current URL null generates exception: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerExceptionjava.lang.NullPointerException at com.liferay.portal.security.auth.SessionAuthToken.getSessionAuthenticationToken(SessionAuthToken.java:142) at com.liferay.portal.security.auth.SessionAuthToken.getToken(SessionAuthToken.java:94) at com.liferay.portal.security.auth.AuthTokenWrapper.getToken(AuthTokenWrapper.java:49) at com.liferay.portal.security.auth.AuthTokenUtil.getToken(AuthTokenUtil.java:50) at com.liferay.portlet.PortletURLImpl.addPortalAuthToken(PortletURLImpl.java:784) at com.liferay.portlet.PortletURLImpl.generateToString(PortletURLImpl.java:944) at com.liferay.portlet.PortletURLImpl$ToStringPrivilegedAction.run(PortletURLImpl.java:1501) at com.liferay.portlet.PortletURLImpl$ToStringPrivilegedAction.run(PortletURLImpl.java:1) at com.liferay.portal.security.lang.DoPrivilegedUtil$NoPACL.wrap(DoPrivilegedUtil.java:64) at com.liferay.portal.security.lang.DoPrivilegedUtil.wrap(DoPrivilegedUtil.java:26) at com.liferay.portlet.PortletURLImpl.toString(PortletURLImpl.java:740) at com.liferay.taglib.portlet.ActionURLTag.doTag(ActionURLTag.java:163) at com.liferay.taglib.portlet.ActionURLTag.doEndTag(ActionURLTag.java:181) at org.apache.jsp.html.portlet.document_005flibrary.upload_005fmultiple_005ffile_005fentries_jsp._jspService(upload_005fmultiple_005ffile_005fentries_jsp.java:909) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON value Select Files
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running waitForText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running clickAt with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Pause#pause with locator-key 15000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 15000
    • +
      Running SikuliClick#sikuliClick with locator-key OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliClick with parameter os/icons/file_dialog_box_type_file_name_icon.png
      Running pause with parameter 2000
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running SikuliUploadCommonFile#sikuliUploadCommonFile with locator-key OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG value Document_1.doc
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliUploadCommonFile with parameters os/fields/file_dialog_box_file_name_field.png Document_1.doc
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertChecked#assertChecked with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.doc')]/input
      Running assertChecked with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.doc')]/input
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE value Document_1.doc
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.doc')]/span
      Running waitForText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.doc')]/span Document_1.doc
      Running assertText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.doc')]/span Document_1.doc
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON value Select Files
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running waitForText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running clickAt with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Pause#pause with locator-key 15000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 15000
    • +
      Running SikuliClick#sikuliClick with locator-key OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliClick with parameter os/icons/file_dialog_box_type_file_name_icon.png
      Running pause with parameter 2000
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running SikuliUploadCommonFile#sikuliUploadCommonFile with locator-key OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG value Document_2.doc
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliUploadCommonFile with parameters os/fields/file_dialog_box_file_name_field.png Document_2.doc
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertChecked#assertChecked with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_2.doc')]/input
      Running assertChecked with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_2.doc')]/input
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE value Document_2.doc
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_2.doc')]/span
      Running waitForText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_2.doc')]/span Document_2.doc
      Running assertText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_2.doc')]/span Document_2.doc
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON value Select Files
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running waitForText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running clickAt with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Pause#pause with locator-key 15000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 15000
    • +
      Running SikuliClick#sikuliClick with locator-key OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliClick with parameter os/icons/file_dialog_box_type_file_name_icon.png
      Running pause with parameter 2000
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running SikuliUploadCommonFile#sikuliUploadCommonFile with locator-key OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG value Document_1.txt
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliUploadCommonFile with parameters os/fields/file_dialog_box_file_name_field.png Document_1.txt
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertChecked#assertChecked with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.txt')]/input
      Running assertChecked with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.txt')]/input
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE value Document_1.txt
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.txt')]/span
      Running waitForText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.txt')]/span Document_1.txt
      Running assertText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.txt')]/span Document_1.txt
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON value Select Files
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running waitForText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running clickAt with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Pause#pause with locator-key 15000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 15000
    • +
      Running SikuliClick#sikuliClick with locator-key OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliClick with parameter os/icons/file_dialog_box_type_file_name_icon.png
      Running pause with parameter 2000
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running SikuliUploadCommonFile#sikuliUploadCommonFile with locator-key OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG value Document_2.docx
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliUploadCommonFile with parameters os/fields/file_dialog_box_file_name_field.png Document_2.docx
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertChecked#assertChecked with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_2.docx')]/input
      Running assertChecked with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_2.docx')]/input
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE value Document_2.docx
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_2.docx')]/span
      Running waitForText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_2.docx')]/span Document_2.docx
      Running assertText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_2.docx')]/span Document_2.docx
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON value Select Files
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running waitForText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running clickAt with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Pause#pause with locator-key 15000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 15000
    • +
      Running SikuliClick#sikuliClick with locator-key OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliClick with parameter os/icons/file_dialog_box_type_file_name_icon.png
      Running pause with parameter 2000
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running SikuliUploadCommonFile#sikuliUploadCommonFile with locator-key OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG value Document_1.xlsx
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliUploadCommonFile with parameters os/fields/file_dialog_box_file_name_field.png Document_1.xlsx
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertChecked#assertChecked with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.xlsx')]/input
      Running assertChecked with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.xlsx')]/input
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE value Document_1.xlsx
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.xlsx')]/span
      Running waitForText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.xlsx')]/span Document_1.xlsx
      Running assertText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.xlsx')]/span Document_1.xlsx
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON value Select Files
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running waitForText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertText with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //span[@class='select-files-container']/button[contains(.,'Select Files')]
      Running clickAt with parameters //span[@class='select-files-container']/button[contains(.,'Select Files')] Select Files
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running Pause#pause with locator-key 15000
    • Running saveScreenshotBeforeAction with parameter false
      Running pause with parameter 15000
    • +
      Running SikuliClick#sikuliClick with locator-key OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliClick with parameter os/icons/file_dialog_box_type_file_name_icon.png
      Running pause with parameter 2000
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running SikuliUploadCommonFile#sikuliUploadCommonFile with locator-key OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG value Document_1.jpg
    • Running saveScreenshotBeforeAction with parameter false
      Running sikuliUploadCommonFile with parameters os/fields/file_dialog_box_file_name_field.png Document_1.jpg
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertChecked#assertChecked with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.jpg')]/input
      Running assertChecked with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.jpg')]/input
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running AssertTextEquals#assertTextEquals with locator-key PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE value Document_1.jpg
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[@class='upload-list']//li[contains(@data-title,'Document_1.jpg')]/span
      Running waitForText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.jpg')]/span Document_1.jpg
      Running assertText with parameters //div[@class='upload-list']//li[contains(@data-title,'Document_1.jpg')]/span Document_1.jpg
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • +
      Running IsVisible#isVisible with locator-key PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_DROPDOWN_COLLAPSED
    • Running isVisible with parameter //div[contains(@class,'toggler-header-collapsed')]//span[contains(.,'Categorization')]
    • +
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_DROPDOWN_COLLAPSED value Categorization
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //div[contains(@class,'toggler-header-collapsed')]//span[contains(.,'Categorization')]
      Running waitForText with parameters //div[contains(@class,'toggler-header-collapsed')]//span[contains(.,'Categorization')] Categorization
      Running assertText with parameters //div[contains(@class,'toggler-header-collapsed')]//span[contains(.,'Categorization')] Categorization
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //div[contains(@class,'toggler-header-collapsed')]//span[contains(.,'Categorization')]
      Running clickAt with parameters //div[contains(@class,'toggler-header-collapsed')]//span[contains(.,'Categorization')] Categorization
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
    • -
      Running AssertClick#assertClick with locator-key PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_TOPIC_SELECT_BUTTON value Select
    • Running saveScreenshotBeforeAction with parameter false
      Running waitForVisible with parameter //button[contains(@title,'Select Topic') and contains(.,'Select')]
      Running waitForText with parameters //button[contains(@title,'Select Topic') and contains(.,'Select')] Select
      Running assertText with parameters //button[contains(@title,'Select Topic') and contains(.,'Select')] Select
      Running assertJavaScriptErrors with parameter null
      Running assertLiferayErrors
      Running mouseOver with parameter //button[contains(@title,'Select Topic') and contains(.,'Select')]
      Running clickAt with parameters //button[contains(@title,'Select Topic') and contains(.,'Select')] Select
      Running assertJavaScriptErrors with parameter null
      Command failure assertJavaScriptErrors with parameter null : TypeError: str is undefined [http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=classic&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=en_US&b=6210&t=1426598661000:3]
      Running stop
    macro current-scope
    parameter
  • categoryName
  • Category Name
  • categoryName
  • Category Name
  • categoryName
  • Category Name
  • categoryName
  • Category Name
    • DocumentsadministrationUsecase#ViewPaginationCategoriesAndTags

      • 2
        < property name = " testray.main.component.name " value = " Documents Management " />
      • 4
        < set-up >
        • 5
          < execute macro = " User#firstLoginPG " >
          • 2
            < var name = " password " value = " test " />
          • 3
            < var name = " userEmailAddress " value = " test@liferay.com " />
          • 1218
            < echo message = " Checking to see if Mobile Device is enabled... " />
          • 1220
            < var method = " selenium#isMobileDeviceEnabled() " name = " mobileDeviceEnabled " />
          • 1222
            < if >
            • 1223
              < equals arg1 = " ${mobileDeviceEnabled} " arg2 = " true " />
            • 1224
              < then >
              • 1225
                < execute macro = " MobileDevice#selectMobileDevice " >
                • 106
                  < execute function = " SikuliClick " locator1 = " MobileDevice#MOBILE_DEVICE_SCREENSHOT " />
                </ execute >
              </ then >
            </ if >
          • 1229
            < echo message = " Checking to see if TCat is enabled... " />
          • 1231
            < var method = " selenium#isTCatEnabled() " name = " tcatEnabled " />
          • 1233
            < if >
            • 1234
              < equals arg1 = " ${tcatEnabled} " arg2 = " true " />
            • 1235
              < then >
              • 1236
                < execute macro = " TCat#deployLiferayPortalWar " >
                • 3
                  < echo message = " Deploying liferay-portal.war to TCat... " />
                • 5
                  < execute function = " Type " locator1 = " TCat#USER_NAME_FIELD " value1 = " admin " />
                • 6
                  < execute function = " Type " locator1 = " TCat#PASSWORD_FIELD " value1 = " admin " />
                • 7
                  < execute function = " Click " locator1 = " TCat#LOG_IN_BUTTON " value1 = " Login " />
                • 9
                  < execute function = " Click " locator1 = " TCat#SERVER_TAB " />
                • 10
                  < execute function = " Click " locator1 = " TCat#UNREGISTERED " />
                • 11
                  < execute function = " Click " locator1 = " TCat#UNREGISTERED_CHECK " />
                • 12
                  < execute function = " Click " locator1 = " TCat#REGISTER_BUTTON " />
                • 14
                  < execute function = " Click " locator1 = " TCat#REPOSITORY_TAB " />
                • 15
                  < execute function = " Click " locator1 = " TCat#APPLICATION_FOLDER " />
                • 16
                  < execute function = " Click " locator1 = " TCat#NEW_WORKSPACE_BUTTON " />
                • 17
                  < execute function = " SikuliType " locator1 = " TCat#NEW_WORKSPACE_NAME_FIELD " value1 = " Liferay " />
                • 18
                  < execute function = " SikuliClick " locator1 = " TCat#NEW_WORKSPACE_ADD_BUTTON " />
                • 20
                  < execute function = " Click " locator1 = " TCat#NEW_ARTIFACT_BUTTON " />
                • 21
                  < execute function = " SikuliClick " locator1 = " TCat#NEW_ARTIFACT_BROWSE_BUTTON " />
                • 22
                  < execute function = " SikuliClick " locator1 = " TCat#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_CLICKED " />
                • 23
                  < execute function = " SikuliClick " locator1 = " TCat#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON " />
                • 24
                  < execute function = " SikuliClick " locator1 = " TCat#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_LINUX " />
                • 25
                  < execute function = " SikuliUploadTCatFile " locator1 = " TCat#FILE_DIALOG_BOX_FILE_NAME_FIELD " value1 = " ROOT.war " />
                • 26
                  < execute function = " SikuliClick " locator1 = " TCat#NEW_ARTIFACT_ADD_BUTTON " />
                • 28
                  < execute function = " Pause " locator1 = " 5000 " />
                • 29
                  < execute function = " Click " locator1 = " TCat#DEPLOYMENT_TAB " />
                • 30
                  < execute function = " Click " locator1 = " TCat#NEW_DEPLOYMENT_BUTTON " />
                • 31
                  < execute function = " Type " locator1 = " TCat#NEW_DEPLOYMENT_NAME_FIELD " value1 = " Liferay " />
                • 32
                  < execute function = " Click " locator1 = " TCat#ADD_FROM_REPOSITORY_BUTTON " />
                • 33
                  < execute function = " SikuliClick " locator1 = " TCat#SELECT_WEB_APPLICATION_FIELD " />
                • 34
                  < execute function = " SikuliClick " locator1 = " TCat#LIFERAY_ROOT_OPTION " />
                • 35
                  < execute function = " SikuliClick " locator1 = " TCat#SELECT_WEB_APPLICATION_BUTTON " />
                • 37
                  < execute function = " SikuliClick " locator1 = " TCat#SELECT_SERVER_DROPDOWN " />
                • 38
                  < execute function = " SikuliClick " locator1 = " TCat#TOMCAT_SERVER_OPTION " />
                • 39
                  < execute function = " Click " locator1 = " TCat#SERVER_DEPLOY_BUTTON " />
                • 41
                  < execute function = " Pause " locator1 = " 160000 " />
                </ execute >
              </ then >
            </ if >
          • 1240
            < execute macro = " Page#openURL " >
            • 329
              < if >
              • 330
                < equals arg1 = " ${pageAccess} " arg2 = " Private " />
              • 331
                < then >
                • 332
                  < var name = " pageAccessURL " value = " /group " />
                </ then >
              • 334
                < else >
                • 335
                  < var name = " pageAccessURL " value = " /web " />
                </ else >
              </ if >
            • 339
              < if >
              • 340
                < and >
                • 341
                  < isset var = " siteName " />
                • 342
                  < equals arg1 = " ${siteURL} " arg2 = " true " />
                </ and >
              • 344
                < then >
                • 345
                  < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                • 346
                  < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                </ then >
              • 348
                < elseif >
                • 349
                  < isset var = " friendlyURL " />
                • 350
                  < then >
                  • 351
                    < var name = " siteNameURL " value = " /${friendlyURL} " />
                  </ then >
                </ elseif >
              • 354
                < else >
                • 355
                  < var name = " siteNameURL " value = " /guest " />
                </ else >
              </ if >
            • 359
              < if >
              • 360
                < equals arg1 = " ${pageStaging} " arg2 = " true " />
              • 361
                < then >
                • 362
                  < var name = " pageStagingURL " value = " -staging " />
                </ then >
              • 364
                < else >
                • 365
                  < var name = " pageStagingURL " value = " " />
                </ else >
              </ if >
            • 369
              < if >
              • 370
                < isset var = " virtualHostsURL " />
              • 371
                < then >
                • 372
                  < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                • 374
                  < execute function = " Open " locator1 = " ${siteNameURL} " />
                </ then >
              • 376
                < elseif >
                • 377
                  < isset var = " specificURL " />
                • 378
                  < then >
                  • 379
                    < execute function = " Open " locator1 = " ${specificURL} " />
                  </ then >
                </ elseif >
              • 382
                < else >
                • 383
                  < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                </ else >
              </ if >
            </ execute >
          • 1242
            < if >
            • 1244
              < then >
              • 1245
                < execute macro = " User#logoutPG " >
                • 2
                  < var name = " password " value = " test " />
                • 3
                  < var name = " userEmailAddress " value = " test@liferay.com " />
                • 1379
                  < if >
                  • 1380
                    < isset var = " nodePort " />
                  • 1381
                    < then >
                    • 1382
                      < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                    </ then >
                  • 1384
                    < else >
                    • 1385
                      < execute macro = " Page#openURL " >
                      • 329
                        < if >
                        • 330
                          < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                        • 331
                          < then >
                          • 332
                            < var name = " pageAccessURL " value = " /group " />
                          </ then >
                        • 334
                          < else >
                          • 335
                            < var name = " pageAccessURL " value = " /web " />
                          </ else >
                        </ if >
                      • 339
                        < if >
                        • 340
                          < and >
                          • 341
                            < isset var = " siteName " />
                          • 342
                            < equals arg1 = " ${siteURL} " arg2 = " true " />
                          </ and >
                        • 344
                          < then >
                          • 345
                            < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                          • 346
                            < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                          </ then >
                        • 348
                          < elseif >
                          • 349
                            < isset var = " friendlyURL " />
                          • 350
                            < then >
                            • 351
                              < var name = " siteNameURL " value = " /${friendlyURL} " />
                            </ then >
                          </ elseif >
                        • 354
                          < else >
                          • 355
                            < var name = " siteNameURL " value = " /guest " />
                          </ else >
                        </ if >
                      • 359
                        < if >
                        • 360
                          < equals arg1 = " ${pageStaging} " arg2 = " true " />
                        • 361
                          < then >
                          • 362
                            < var name = " pageStagingURL " value = " -staging " />
                          </ then >
                        • 364
                          < else >
                          • 365
                            < var name = " pageStagingURL " value = " " />
                          </ else >
                        </ if >
                      • 369
                        < if >
                        • 370
                          < isset var = " virtualHostsURL " />
                        • 371
                          < then >
                          • 372
                            < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                          • 374
                            < execute function = " Open " locator1 = " ${siteNameURL} " />
                          </ then >
                        • 376
                          < elseif >
                          • 377
                            < isset var = " specificURL " />
                          • 378
                            < then >
                            • 379
                              < execute function = " Open " locator1 = " ${specificURL} " />
                            </ then >
                          </ elseif >
                        • 382
                          < else >
                          • 383
                            < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                          </ else >
                        </ if >
                      </ execute >
                    </ else >
                  </ if >
                • 1389
                  < if >
                  • 1391
                    < then >
                    • 1392
                      < execute function = " Click " locator1 = " Dockbar#USER_NAME " />
                    • 1393
                      < execute function = " Click " locator1 = " Dockbar#USER_SIGN_OUT " />
                    </ then >
                  </ if >
                </ execute >
              • 1246
                < execute macro = " User#loginPG " >
                • 2
                  < var name = " password " value = " test " />
                • 3
                  < var name = " userEmailAddress " value = " test@liferay.com " />
                • 1275
                  < if >
                  • 1276
                    < isset var = " nodePort " />
                  • 1277
                    < then >
                    • 1278
                      < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                    </ then >
                  • 1280
                    < else >
                    • 1281
                      < execute macro = " Page#openURL " >
                      • 329
                        < if >
                        • 330
                          < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                        • 331
                          < then >
                          • 332
                            < var name = " pageAccessURL " value = " /group " />
                          </ then >
                        • 334
                          < else >
                          • 335
                            < var name = " pageAccessURL " value = " /web " />
                          </ else >
                        </ if >
                      • 339
                        < if >
                        • 340
                          < and >
                          • 341
                            < isset var = " siteName " />
                          • 342
                            < equals arg1 = " ${siteURL} " arg2 = " true " />
                          </ and >
                        • 344
                          < then >
                          • 345
                            < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                          • 346
                            < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                          </ then >
                        • 348
                          < elseif >
                          • 349
                            < isset var = " friendlyURL " />
                          • 350
                            < then >
                            • 351
                              < var name = " siteNameURL " value = " /${friendlyURL} " />
                            </ then >
                          </ elseif >
                        • 354
                          < else >
                          • 355
                            < var name = " siteNameURL " value = " /guest " />
                          </ else >
                        </ if >
                      • 359
                        < if >
                        • 360
                          < equals arg1 = " ${pageStaging} " arg2 = " true " />
                        • 361
                          < then >
                          • 362
                            < var name = " pageStagingURL " value = " -staging " />
                          </ then >
                        • 364
                          < else >
                          • 365
                            < var name = " pageStagingURL " value = " " />
                          </ else >
                        </ if >
                      • 369
                        < if >
                        • 370
                          < isset var = " virtualHostsURL " />
                        • 371
                          < then >
                          • 372
                            < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                          • 374
                            < execute function = " Open " locator1 = " ${siteNameURL} " />
                          </ then >
                        • 376
                          < elseif >
                          • 377
                            < isset var = " specificURL " />
                          • 378
                            < then >
                            • 379
                              < execute function = " Open " locator1 = " ${specificURL} " />
                            </ then >
                          </ elseif >
                        • 382
                          < else >
                          • 383
                            < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                          </ else >
                        </ if >
                      </ execute >
                    </ else >
                  </ if >
                • 1285
                  < if >
                  • 1286
                    < isset var = " loginViaDockbar " />
                  • 1287
                    < then >
                    • 1288
                      < execute function = " AssertClick " locator1 = " Dockbar#USER_SIGN_IN " value1 = " Sign In " />
                    </ then >
                  </ if >
                • 1292
                  < if >
                  • 1293
                    < equals arg1 = " ${authenticationMethod} " arg2 = " By Screen Name " />
                  • 1294
                    < then >
                    • 1295
                      < execute function = " Type " locator1 = " PGLogin#SCREEN_NAME_FIELD " value1 = " ${userScreenName} " />
                    </ then >
                  • 1297
                    < else >
                    • 1298
                      < execute function = " Type " locator1 = " PGLogin#EMAIL_ADDRESS_FIELD " value1 = " ${userEmailAddress} " />
                    </ else >
                  </ if >
                • 1302
                  < execute function = " Type " locator1 = " PGLogin#PASSWORD_FIELD " value1 = " ${password} " />
                • 1304
                  < if >
                  • 1305
                    < equals arg1 = " ${rememberMeChecked} " arg2 = " true " />
                  • 1306
                    < then >
                    • 1307
                      < execute function = " Check " locator1 = " PGLogin#REMEMBER_ME_CHECKBOX " />
                    </ then >
                  </ if >
                • 1313
                  < execute function = " Click " locator1 = " PGLogin#SIGN_IN_BUTTON " value1 = " Sign In " />
                • 1315
                  < if >
                  • 1317
                    < then >
                    • 1318
                      < execute function = " AssertClick " locator1 = " PGLoginTermsofservice#I_AGREE_BUTTON " value1 = " I Agree " />
                    </ then >
                  </ if >
                • 1322
                  < if >
                  • 1324
                    < then >
                    • 1325
                      < execute function = " Type " locator1 = " PGLoginNewpassword#PASSWORD_FIELD " value1 = " test " />
                    • 1326
                      < execute function = " Type " locator1 = " PGLoginNewpassword#ENTER_AGAIN_FIELD " value1 = " test " />
                    • 1327
                      < execute function = " AssertClick " locator1 = " PGLoginNewpassword#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                • 1331
                  < if >
                  • 1333
                    < then >
                    • 1334
                      < execute function = " Type " locator1 = " PGLoginPasswordreminder#ANSWER_FIELD " value1 = " test " />
                    • 1335
                      < execute function = " AssertClick " locator1 = " PGLoginPasswordreminder#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                </ execute >
              </ then >
            • 1248
              < else >
              • 1249
                < execute macro = " User#loginPG " >
                • 2
                  < var name = " password " value = " test " />
                • 3
                  < var name = " userEmailAddress " value = " test@liferay.com " />
                • 1275
                  < if >
                  • 1276
                    < isset var = " nodePort " />
                  • 1277
                    < then >
                    • 1278
                      < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                    </ then >
                  • 1280
                    < else >
                    • 1281
                      < execute macro = " Page#openURL " >
                      • 329
                        < if >
                        • 330
                          < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                        • 331
                          < then >
                          • 332
                            < var name = " pageAccessURL " value = " /group " />
                          </ then >
                        • 334
                          < else >
                          • 335
                            < var name = " pageAccessURL " value = " /web " />
                          </ else >
                        </ if >
                      • 339
                        < if >
                        • 340
                          < and >
                          • 341
                            < isset var = " siteName " />
                          • 342
                            < equals arg1 = " ${siteURL} " arg2 = " true " />
                          </ and >
                        • 344
                          < then >
                          • 345
                            < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                          • 346
                            < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                          </ then >
                        • 348
                          < elseif >
                          • 349
                            < isset var = " friendlyURL " />
                          • 350
                            < then >
                            • 351
                              < var name = " siteNameURL " value = " /${friendlyURL} " />
                            </ then >
                          </ elseif >
                        • 354
                          < else >
                          • 355
                            < var name = " siteNameURL " value = " /guest " />
                          </ else >
                        </ if >
                      • 359
                        < if >
                        • 360
                          < equals arg1 = " ${pageStaging} " arg2 = " true " />
                        • 361
                          < then >
                          • 362
                            < var name = " pageStagingURL " value = " -staging " />
                          </ then >
                        • 364
                          < else >
                          • 365
                            < var name = " pageStagingURL " value = " " />
                          </ else >
                        </ if >
                      • 369
                        < if >
                        • 370
                          < isset var = " virtualHostsURL " />
                        • 371
                          < then >
                          • 372
                            < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                          • 374
                            < execute function = " Open " locator1 = " ${siteNameURL} " />
                          </ then >
                        • 376
                          < elseif >
                          • 377
                            < isset var = " specificURL " />
                          • 378
                            < then >
                            • 379
                              < execute function = " Open " locator1 = " ${specificURL} " />
                            </ then >
                          </ elseif >
                        • 382
                          < else >
                          • 383
                            < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                          </ else >
                        </ if >
                      </ execute >
                    </ else >
                  </ if >
                • 1285
                  < if >
                  • 1286
                    < isset var = " loginViaDockbar " />
                  • 1287
                    < then >
                    • 1288
                      < execute function = " AssertClick " locator1 = " Dockbar#USER_SIGN_IN " value1 = " Sign In " />
                    </ then >
                  </ if >
                • 1292
                  < if >
                  • 1293
                    < equals arg1 = " ${authenticationMethod} " arg2 = " By Screen Name " />
                  • 1294
                    < then >
                    • 1295
                      < execute function = " Type " locator1 = " PGLogin#SCREEN_NAME_FIELD " value1 = " ${userScreenName} " />
                    </ then >
                  • 1297
                    < else >
                    • 1298
                      < execute function = " Type " locator1 = " PGLogin#EMAIL_ADDRESS_FIELD " value1 = " ${userEmailAddress} " />
                    </ else >
                  </ if >
                • 1302
                  < execute function = " Type " locator1 = " PGLogin#PASSWORD_FIELD " value1 = " ${password} " />
                • 1304
                  < if >
                  • 1305
                    < equals arg1 = " ${rememberMeChecked} " arg2 = " true " />
                  • 1306
                    < then >
                    • 1307
                      < execute function = " Check " locator1 = " PGLogin#REMEMBER_ME_CHECKBOX " />
                    </ then >
                  </ if >
                • 1313
                  < execute function = " Click " locator1 = " PGLogin#SIGN_IN_BUTTON " value1 = " Sign In " />
                • 1315
                  < if >
                  • 1317
                    < then >
                    • 1318
                      < execute function = " AssertClick " locator1 = " PGLoginTermsofservice#I_AGREE_BUTTON " value1 = " I Agree " />
                    </ then >
                  </ if >
                • 1322
                  < if >
                  • 1324
                    < then >
                    • 1325
                      < execute function = " Type " locator1 = " PGLoginNewpassword#PASSWORD_FIELD " value1 = " test " />
                    • 1326
                      < execute function = " Type " locator1 = " PGLoginNewpassword#ENTER_AGAIN_FIELD " value1 = " test " />
                    • 1327
                      < execute function = " AssertClick " locator1 = " PGLoginNewpassword#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                • 1331
                  < if >
                  • 1333
                    < then >
                    • 1334
                      < execute function = " Type " locator1 = " PGLoginPasswordreminder#ANSWER_FIELD " value1 = " test " />
                    • 1335
                      < execute function = " AssertClick " locator1 = " PGLoginPasswordreminder#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                </ execute >
              </ else >
            </ if >
          </ execute >
        </ set-up >
      • 405
        < command name = " ViewPaginationCategoriesAndTags " priority = " 4 " >
        • 406
          < var name = " categoryDescription " value = " Category Description " />
        • 407
          < var name = " dmDocumentFileList " value = " Document_1.doc,Document_2.doc,Document_1.txt,Document_2.docx,Document_1.xlsx,Document_1.jpg " />
        • 408
          < var name = " pageName " value = " Documents and Media Page " />
        • 409
          < var name = " portletOption " value = " Configuration " />
        • 410
          < var name = " uploadCommonFile " value = " true " />
        • 412
          < execute macro = " Page#gotoContentCP " >
          < var name = "portletName" value = "Categories" />
          413

          • 184
            < execute macro = " Page#gotoCmdCP " >
            < var name = "portletCategoryKey" value = "ADMIN_SITE_ADMINISTRATION_CONTENT" />
            185

            < var name = "portletCategoryName" value = "Content" />
            186

            < var name = "portletName" value = "${portletName}" />
            187

            • 124
              < if >
              • 125
                < isset var = " nodePort " />
              • 126
                < then >
                • 127
                  < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                </ then >
              • 129
                < else >
                • 130
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ else >
              </ if >
            • 134
              < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
            • 135
              < execute function = " AssertClick " locator1 = " Dockbar#${portletCategoryKey} " value1 = " ${portletCategoryName} " />
            • 137
              < if >
              • 138
                < isset var = " siteScopeName " />
              • 139
                < then >
                • 140
                  < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR " />
                • 142
                  < var name = " key_siteScopeName " value = " ${siteScopeName} " />
                • 144
                  < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR_MENULIST_ITEM " />
                </ then >
              </ if >
            • 148
              < var name = " key_portletCategoryName " value = " ${portletCategoryName} " />
            • 150
              < if >
              • 152
                < then >
                • 153
                  < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED " value1 = " ${portletCategoryName} " />
                • 155
                  < execute function = " AssertTextEquals " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_EXPANDED " value1 = " ${portletCategoryName} " />
                </ then >
              </ if >
            • 159
              < if >
              • 160
                < not >
                • 161
                  < contains string = " ${portletName} " substring = " {portletName} " />
                </ not >
              • 163
                < then >
                • 164
                  < var name = " key_portletName " value = " ${portletName} " />
                • 166
                  < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_NAVIGATION " value1 = " ${portletName} " />
                </ then >
              </ if >
            </ execute >
          </ execute >
        • 416
          < execute macro = " Category#addCP " >
          < var name = "categoryDescription" value = "${categoryDescription}" />
          417

          < var name = "categoryName" value = "Category Name" />
          418

          < var name = "vocabularyName" value = "Topic" />
          419

          • 115
            < var name = " key_categoryName " value = " ${categoryName} " />
          • 116
            < var name = " key_vocabularyName " value = " ${vocabularyName} " />
          • 118
            < execute function = " AssertClick " locator1 = " CPCategories#VOCABULARY_ENTRY " value1 = " ${vocabularyName} " />
          • 119
            < execute function = " AssertClick " locator1 = " CPCategories#ADD_CATEGORY_BUTTON " value1 = " Add Category " />
          • 121
            < execute function = " Type " locator1 = " CPCategoriesAdd#NAME_FIELD " value1 = " ${categoryName} " />
          • 123
            < if >
            • 124
              < isset var = " categoryDescription " />
            • 125
              < then >
              • 126
                < execute function = " Type " locator1 = " CPCategoriesAdd#DESCRIPTION_FIELD " value1 = " ${localizationName} " />
              </ then >
            </ if >
          • 130
            < execute function = " AssertClick " locator1 = " CPCategoriesAdd#SAVE_BUTTON " value1 = " Save " />
          • 132
            < execute function = " AssertTextEquals " locator1 = " CPCategories#SUCCESS_MESSAGE " value1 = " Your request processed successfully. " />
          • 133
            < execute function = " AssertTextEquals " locator1 = " CPCategories#VOCABULARY_CATEGORY_LABEL " value1 = " ${categoryName} " />
          </ execute >
        • 422
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "Welcome" />
          423

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 426
          < execute macro = " Page#addPG " >
          < var name = "pageName" value = "${pageName}" />
          427

          • 18
            < if >
            • 19
              < isset var = " nodePort " />
            • 20
              < then >
              • 21
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 23
              < elseif >
              • 24
                < not >
                • 25
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 27
                < then >
                • 28
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 33
            < execute function = " Click " locator1 = " Dockbar#ADD " value1 = " Add " />
          • 34
            < execute function = " AssertClick " locator1 = " Dockbar#ADD_PAGE_LINK " value1 = " Page " />
          • 35
            < execute function = " Type " locator1 = " Dockbar#ADD_PAGE_NAME_FIELD " value1 = " ${pageName} " />
          • 37
            < if >
            • 38
              < isset var = " pageType " />
            • 39
              < then >
              • 40
                < execute macro = " Page#selectPageTypeRadioPG " >
                < var name = "pageType" value = "${pageType}" />
                41

                • 389
                  < var name = " key_pageType " value = " ${pageType} " />
                • 391
                  < execute function = " Click " locator1 = " Dockbar#ADD_PAGE_TYPE_RADIO " value1 = " ${pageType} " />
                • 393
                  < if >
                  • 394
                    < equals arg1 = " ${pageType} " arg2 = " Panel " />
                  • 395
                    < then >
                    • 396
                      < execute macro = " Page#addPageTypePanelPG " >
                      < var name = "portletNameList" value = "${portletNameList}" />
                      397

                      • 3
                        < var name = " key_componentName " value = " ${componentName} " />
                      • 5
                        < execute function = " Click " locator1 = " Dockbar#ADD_PAGE_PANEL_COMPONENT_TREE_ARROW " />
                      • 7
                        < for list = " ${portletNameList} " param = " portletName " >
                        • 8
                          < var name = " key_componentOrPortletName " value = " ${portletName} " />
                        • 10
                          < execute function = " Click " locator1 = " Dockbar#ADD_PAGE_TYPE_PANEL_CHECKBOX " value1 = " ${portletName} " />
                        • 11
                          < execute function = " AssertChecked#waitForElementPresentAssertChecked " locator1 = " Dockbar#ADD_PAGE_TYPE_PANEL_CHECKBOX_INPUT " />
                        </ for >
                      </ execute >
                    </ then >
                  </ if >
                </ execute >
              </ then >
            </ if >
          • 46
            < var name = " key_pageType " value = " ${pageTemplateName} " />
          • 48
            < if >
            • 49
              < isset var = " pageTemplateName " />
            • 50
              < then >
              • 51
                < execute function = " AssertTextEquals " locator1 = " CPSitepagesAddpage#PAGE_TYPE_LABEL " value1 = " ${pageTemplateName} " />
              • 52
                < execute function = " Click " locator1 = " CPSitepagesAddpage#PAGE_TYPE_RADIO " />
              • 53
                < execute function = " AssertTextEquals " locator1 = " CPSitepagesAddpage#PAGE_TYPE_TEMPLATE_AUTOMATICALLY_APPLY_CHANGES_LABEL " value1 = " Automatically apply changes done to the page template. " />
              • 54
                < execute function = " Check " locator1 = " CPSitepagesAddpage#PAGE_TYPE_TEMPLATE_AUTOMATICALLY_APPLY_CHANGES_CHECKBOX " />
              </ then >
            </ if >
          • 58
            < execute function = " AssertClick " locator1 = " Dockbar#ADD_PAGE_BUTTON " value1 = " Add Page " />
          • 60
            < var name = " key_pageName " value = " ${pageName} " />
          • 62
            < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " />
          </ execute >
        • 430
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          431

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 434
          < execute macro = " Portlet#addPG " >
          < var name = "portletName" value = "Tags Navigation" />
          435

          • 50
            < var name = " portletTypeKey " value = " PORTLET " />
          • 52
            < if >
            • 53
              < equals arg1 = " ${portletName} " arg2 = " Map " />
            • 54
              < then >
              • 55
                < var name = " portletName " value = " Where are the Liferay members? " />
              </ then >
            • 57
              < elseif >
              • 58
                < equals arg1 = " ${portletName} " arg2 = " Requests " />
              • 59
                < then >
                • 60
                  < var name = " portletTypeKey " value = " PORTLET_BORDERLESS " />
                </ then >
              </ elseif >
            </ if >
          • 65
            < execute macro = " Portlet#addPGCmd " >
            < var name = "portletName" value = "${portletName}" />
            66

            • 98
              < if >
              • 99
                < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
              • 100
                < then >
                • 101
                  < var name = " portletName " value = " Map " />
                </ then >
              </ if >
            • 105
              < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
            • 106
              < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
            • 107
              < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
            • 109
              < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
            • 111
              < if >
              • 112
                < or >
                • 113
                  < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                • 114
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                • 115
                  < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                • 116
                  < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                • 117
                  < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                </ or >
              • 119
                < then >
                • 120
                  < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                </ then >
              </ if >
            • 124
              < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
            • 126
              < echo message = " Adding ${portletName} portlet... " />
            • 128
              < execute function = " Pause " locator1 = " 5000 " />
            • 130
              < if >
              • 131
                < or >
                • 132
                  < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                • 133
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                • 134
                  < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                • 135
                  < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                </ or >
              • 137
                < then >
                • 138
                  < execute function = " Pause " locator1 = " 30000 " />
                </ then >
              </ if >
            </ execute >
          • 69
            < var name = " i " value = " 1 " />
          • 70
            < var name = " key_portletName " value = " ${portletName} " />
          • 72
            < while >
            • 73
              < not >
              • 74
                < or >
                • 76
                  < equals arg1 = " ${i} " arg2 = " 3 " />
                </ or >
              </ not >
            • 79
              < then >
              • 80
                < var name = " i " value = " ${i?increment()} " />
              • 82
                < echo message = " The xpath ${portletTypeKey} could not be found. Refreshing the page. Attempt number ${i}... " />
              • 84
                < execute function = " Refresh " />
              • 86
                < execute macro = " Portlet#addPGCmd " >
                < var name = "portletName" value = "${portletName}" />
                87

                • 98
                  < if >
                  • 99
                    < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
                  • 100
                    < then >
                    • 101
                      < var name = " portletName " value = " Map " />
                    </ then >
                  </ if >
                • 105
                  < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
                • 106
                  < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
                • 107
                  < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
                • 109
                  < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
                • 111
                  < if >
                  • 112
                    < or >
                    • 113
                      < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                    • 114
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                    • 115
                      < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                    • 116
                      < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                    • 117
                      < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                    </ or >
                  • 119
                    < then >
                    • 120
                      < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                    </ then >
                  </ if >
                • 124
                  < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
                • 126
                  < echo message = " Adding ${portletName} portlet... " />
                • 128
                  < execute function = " Pause " locator1 = " 5000 " />
                • 130
                  < if >
                  • 131
                    < or >
                    • 132
                      < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                    • 133
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                    • 134
                      < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                    • 135
                      < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                    </ or >
                  • 137
                    < then >
                    • 138
                      < execute function = " Pause " locator1 = " 30000 " />
                    </ then >
                  </ if >
                </ execute >
              </ then >
            </ while >
          • 92
            < execute function = " AssertElementPresent " locator1 = " Home#${portletTypeKey} " />
          </ execute >
        • 438
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          439

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 442
          < execute macro = " Portlet#addPG " >
          < var name = "portletName" value = "Categories Navigation" />
          443

          • 50
            < var name = " portletTypeKey " value = " PORTLET " />
          • 52
            < if >
            • 53
              < equals arg1 = " ${portletName} " arg2 = " Map " />
            • 54
              < then >
              • 55
                < var name = " portletName " value = " Where are the Liferay members? " />
              </ then >
            • 57
              < elseif >
              • 58
                < equals arg1 = " ${portletName} " arg2 = " Requests " />
              • 59
                < then >
                • 60
                  < var name = " portletTypeKey " value = " PORTLET_BORDERLESS " />
                </ then >
              </ elseif >
            </ if >
          • 65
            < execute macro = " Portlet#addPGCmd " >
            < var name = "portletName" value = "${portletName}" />
            66

            • 98
              < if >
              • 99
                < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
              • 100
                < then >
                • 101
                  < var name = " portletName " value = " Map " />
                </ then >
              </ if >
            • 105
              < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
            • 106
              < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
            • 107
              < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
            • 109
              < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
            • 111
              < if >
              • 112
                < or >
                • 113
                  < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                • 114
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                • 115
                  < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                • 116
                  < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                • 117
                  < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                </ or >
              • 119
                < then >
                • 120
                  < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                </ then >
              </ if >
            • 124
              < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
            • 126
              < echo message = " Adding ${portletName} portlet... " />
            • 128
              < execute function = " Pause " locator1 = " 5000 " />
            • 130
              < if >
              • 131
                < or >
                • 132
                  < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                • 133
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                • 134
                  < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                • 135
                  < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                </ or >
              • 137
                < then >
                • 138
                  < execute function = " Pause " locator1 = " 30000 " />
                </ then >
              </ if >
            </ execute >
          • 69
            < var name = " i " value = " 1 " />
          • 70
            < var name = " key_portletName " value = " ${portletName} " />
          • 72
            < while >
            • 73
              < not >
              • 74
                < or >
                • 76
                  < equals arg1 = " ${i} " arg2 = " 3 " />
                </ or >
              </ not >
            • 79
              < then >
              • 80
                < var name = " i " value = " ${i?increment()} " />
              • 82
                < echo message = " The xpath ${portletTypeKey} could not be found. Refreshing the page. Attempt number ${i}... " />
              • 84
                < execute function = " Refresh " />
              • 86
                < execute macro = " Portlet#addPGCmd " >
                < var name = "portletName" value = "${portletName}" />
                87

                • 98
                  < if >
                  • 99
                    < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
                  • 100
                    < then >
                    • 101
                      < var name = " portletName " value = " Map " />
                    </ then >
                  </ if >
                • 105
                  < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
                • 106
                  < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
                • 107
                  < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
                • 109
                  < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
                • 111
                  < if >
                  • 112
                    < or >
                    • 113
                      < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                    • 114
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                    • 115
                      < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                    • 116
                      < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                    • 117
                      < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                    </ or >
                  • 119
                    < then >
                    • 120
                      < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                    </ then >
                  </ if >
                • 124
                  < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
                • 126
                  < echo message = " Adding ${portletName} portlet... " />
                • 128
                  < execute function = " Pause " locator1 = " 5000 " />
                • 130
                  < if >
                  • 131
                    < or >
                    • 132
                      < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                    • 133
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                    • 134
                      < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                    • 135
                      < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                    </ or >
                  • 137
                    < then >
                    • 138
                      < execute function = " Pause " locator1 = " 30000 " />
                    </ then >
                  </ if >
                </ execute >
              </ then >
            </ while >
          • 92
            < execute function = " AssertElementPresent " locator1 = " Home#${portletTypeKey} " />
          </ execute >
        • 446
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          447

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 450
          < execute macro = " Portlet#addPG " >
          < var name = "portletName" value = "Documents and Media Display" />
          451

          • 50
            < var name = " portletTypeKey " value = " PORTLET " />
          • 52
            < if >
            • 53
              < equals arg1 = " ${portletName} " arg2 = " Map " />
            • 54
              < then >
              • 55
                < var name = " portletName " value = " Where are the Liferay members? " />
              </ then >
            • 57
              < elseif >
              • 58
                < equals arg1 = " ${portletName} " arg2 = " Requests " />
              • 59
                < then >
                • 60
                  < var name = " portletTypeKey " value = " PORTLET_BORDERLESS " />
                </ then >
              </ elseif >
            </ if >
          • 65
            < execute macro = " Portlet#addPGCmd " >
            < var name = "portletName" value = "${portletName}" />
            66

            • 98
              < if >
              • 99
                < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
              • 100
                < then >
                • 101
                  < var name = " portletName " value = " Map " />
                </ then >
              </ if >
            • 105
              < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
            • 106
              < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
            • 107
              < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
            • 109
              < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
            • 111
              < if >
              • 112
                < or >
                • 113
                  < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                • 114
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                • 115
                  < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                • 116
                  < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                • 117
                  < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                </ or >
              • 119
                < then >
                • 120
                  < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                </ then >
              </ if >
            • 124
              < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
            • 126
              < echo message = " Adding ${portletName} portlet... " />
            • 128
              < execute function = " Pause " locator1 = " 5000 " />
            • 130
              < if >
              • 131
                < or >
                • 132
                  < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                • 133
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                • 134
                  < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                • 135
                  < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                </ or >
              • 137
                < then >
                • 138
                  < execute function = " Pause " locator1 = " 30000 " />
                </ then >
              </ if >
            </ execute >
          • 69
            < var name = " i " value = " 1 " />
          • 70
            < var name = " key_portletName " value = " ${portletName} " />
          • 72
            < while >
            • 73
              < not >
              • 74
                < or >
                • 76
                  < equals arg1 = " ${i} " arg2 = " 3 " />
                </ or >
              </ not >
            • 79
              < then >
              • 80
                < var name = " i " value = " ${i?increment()} " />
              • 82
                < echo message = " The xpath ${portletTypeKey} could not be found. Refreshing the page. Attempt number ${i}... " />
              • 84
                < execute function = " Refresh " />
              • 86
                < execute macro = " Portlet#addPGCmd " >
                < var name = "portletName" value = "${portletName}" />
                87

                • 98
                  < if >
                  • 99
                    < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
                  • 100
                    < then >
                    • 101
                      < var name = " portletName " value = " Map " />
                    </ then >
                  </ if >
                • 105
                  < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
                • 106
                  < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
                • 107
                  < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
                • 109
                  < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
                • 111
                  < if >
                  • 112
                    < or >
                    • 113
                      < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                    • 114
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                    • 115
                      < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                    • 116
                      < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                    • 117
                      < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                    </ or >
                  • 119
                    < then >
                    • 120
                      < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                    </ then >
                  </ if >
                • 124
                  < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
                • 126
                  < echo message = " Adding ${portletName} portlet... " />
                • 128
                  < execute function = " Pause " locator1 = " 5000 " />
                • 130
                  < if >
                  • 131
                    < or >
                    • 132
                      < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                    • 133
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                    • 134
                      < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                    • 135
                      < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                    </ or >
                  • 137
                    < then >
                    • 138
                      < execute function = " Pause " locator1 = " 30000 " />
                    </ then >
                  </ if >
                </ execute >
              </ then >
            </ while >
          • 92
            < execute function = " AssertElementPresent " locator1 = " Home#${portletTypeKey} " />
          </ execute >
        • 454
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          455

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 458
          < execute macro = " Portlet#addPG " >
          < var name = "portletName" value = "Documents and Media" />
          459

          • 50
            < var name = " portletTypeKey " value = " PORTLET " />
          • 52
            < if >
            • 53
              < equals arg1 = " ${portletName} " arg2 = " Map " />
            • 54
              < then >
              • 55
                < var name = " portletName " value = " Where are the Liferay members? " />
              </ then >
            • 57
              < elseif >
              • 58
                < equals arg1 = " ${portletName} " arg2 = " Requests " />
              • 59
                < then >
                • 60
                  < var name = " portletTypeKey " value = " PORTLET_BORDERLESS " />
                </ then >
              </ elseif >
            </ if >
          • 65
            < execute macro = " Portlet#addPGCmd " >
            < var name = "portletName" value = "${portletName}" />
            66

            • 98
              < if >
              • 99
                < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
              • 100
                < then >
                • 101
                  < var name = " portletName " value = " Map " />
                </ then >
              </ if >
            • 105
              < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
            • 106
              < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
            • 107
              < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
            • 109
              < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
            • 111
              < if >
              • 112
                < or >
                • 113
                  < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                • 114
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                • 115
                  < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                • 116
                  < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                • 117
                  < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                </ or >
              • 119
                < then >
                • 120
                  < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                </ then >
              </ if >
            • 124
              < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
            • 126
              < echo message = " Adding ${portletName} portlet... " />
            • 128
              < execute function = " Pause " locator1 = " 5000 " />
            • 130
              < if >
              • 131
                < or >
                • 132
                  < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                • 133
                  < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                • 134
                  < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                • 135
                  < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                </ or >
              • 137
                < then >
                • 138
                  < execute function = " Pause " locator1 = " 30000 " />
                </ then >
              </ if >
            </ execute >
          • 69
            < var name = " i " value = " 1 " />
          • 70
            < var name = " key_portletName " value = " ${portletName} " />
          • 72
            < while >
            • 73
              < not >
              • 74
                < or >
                • 76
                  < equals arg1 = " ${i} " arg2 = " 3 " />
                </ or >
              </ not >
            • 79
              < then >
              • 80
                < var name = " i " value = " ${i?increment()} " />
              • 82
                < echo message = " The xpath ${portletTypeKey} could not be found. Refreshing the page. Attempt number ${i}... " />
              • 84
                < execute function = " Refresh " />
              • 86
                < execute macro = " Portlet#addPGCmd " >
                < var name = "portletName" value = "${portletName}" />
                87

                • 98
                  < if >
                  • 99
                    < equals arg1 = " ${portletName} " arg2 = " Where are the Liferay members? " />
                  • 100
                    < then >
                    • 101
                      < var name = " portletName " value = " Map " />
                    </ then >
                  </ if >
                • 105
                  < execute function = " Click#clickAtSidebarClickAt " locator1 = " Dockbar#ADD " value1 = " Add " />
                • 106
                  < execute function = " AssertClick#assertTextClickAtAddApplication " locator1 = " Dockbar#ADD_APPLICATION_LINK " value1 = " Applications " />
                • 107
                  < execute function = " Type#sendKeysApplicationSearch " locator1 = " Dockbar#ADD_APPLICATION_SEARCH_FIELD " value1 = " ${portletName} " />
                • 109
                  < var name = " portletLocator " value = " //span[@data-title="${portletName}" and contains(@class,'add-content-item')] " />
                • 111
                  < if >
                  • 112
                    < or >
                    • 113
                      < equals arg1 = " ${portletName} " arg2 = " Asset Publisher " />
                    • 114
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media Display " />
                    • 115
                      < equals arg1 = " ${portletName} " arg2 = " Navigation " />
                    • 116
                      < equals arg1 = " ${portletName} " arg2 = " OpenSocial Gadget " />
                    • 117
                      < equals arg1 = " ${portletName} " arg2 = " Web Content Display " />
                    </ or >
                  • 119
                    < then >
                    • 120
                      < var name = " portletLocator " value = " xpath=(${portletLocator})[2] " />
                    </ then >
                  </ if >
                • 124
                  < execute function = " AssertClick#pauseMakeVisibleAssertTextEqualsClickAt " locator1 = " Dockbar#${portletLocator} " value1 = " Add " />
                • 126
                  < echo message = " Adding ${portletName} portlet... " />
                • 128
                  < execute function = " Pause " locator1 = " 5000 " />
                • 130
                  < if >
                  • 131
                    < or >
                    • 132
                      < equals arg1 = " ${portletName} " arg2 = " Calendar " />
                    • 133
                      < equals arg1 = " ${portletName} " arg2 = " Documents and Media " />
                    • 134
                      < equals arg1 = " ${portletName} " arg2 = " Media Gallery " />
                    • 135
                      < equals arg1 = " ${portletName} " arg2 = " WSRP Unit Converter " />
                    </ or >
                  • 137
                    < then >
                    • 138
                      < execute function = " Pause " locator1 = " 30000 " />
                    </ then >
                  </ if >
                </ execute >
              </ then >
            </ while >
          • 92
            < execute function = " AssertElementPresent " locator1 = " Home#${portletTypeKey} " />
          </ execute >
        • 462
          < execute macro = " DMDocument#addPGViaFlashUploader " >
          < var name = "categoryName" value = "Category Name" />
          463

          < var name = "categoryTag" value = "Category Tag" />
          464

          < var name = "dmDocumentFileList" value = "${dmDocumentFileList}" />
          465

          < var name = "uploadCommonFile" value = "${uploadCommonFile}" />
          466

          • 140
            < if >
            • 141
              < equals arg1 = " ${stagingActivated} " arg2 = " true " />
            • 142
              < then >
              • 143
                < execute function = " AssertElementNotPresent " locator1 = " PGDocumentsandmedia#STAGING_MESSAGE " value1 = " The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging. " />
              </ then >
            </ if >
          • 147
            < execute function = " AssertClick#waitForDMHomeAssertTextEqualsClick " locator1 = " PGDocumentsandmedia#TOOLBAR_ADD " value1 = " Add " />
          • 148
            < execute function = " AssertClick " locator1 = " PGDocumentsandmedia#ADD_MENULIST_MULTIPLE_DOCUMENTS " value1 = " Multiple Documents " />
          • 150
            < if >
            • 151
              < isset var = " dmDocumentFileList " />
            • 152
              < then >
              • 153
                < for list = " ${dmDocumentFileList} " param = " dmDocumentFile " >
                • 154
                  < var name = " key_dmDocumentFile " value = " ${dmDocumentFile} " />
                • 156
                  < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON " value1 = " Select Files " />
                • 157
                  < execute function = " Pause " locator1 = " 15000 " />
                • 159
                  < execute function = " SikuliClick " locator1 = " OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG " />
                • 161
                  < if >
                  • 162
                    < equals arg1 = " ${uploadTempFile} " arg2 = " true " />
                  • 163
                    < then >
                    • 164
                      < execute function = " SikuliUploadTempFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                    </ then >
                  • 166
                    < else >
                    • 167
                      < execute function = " SikuliUploadCommonFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                    </ else >
                  </ if >
                • 171
                  < execute function = " AssertChecked " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX " />
                • 172
                  < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE " value1 = " ${dmDocumentFile} " />
                </ for >
              </ then >
            • 175
              < else >
              • 176
                < var name = " key_dmDocumentFile " value = " ${dmDocumentFile} " />
              • 178
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON " value1 = " Select Files " />
              • 180
                < if >
                • 181
                  < equals arg1 = " ${uploadTempFile} " arg2 = " true " />
                • 182
                  < then >
                  • 183
                    < execute function = " SikuliUploadTempFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                  </ then >
                • 185
                  < else >
                  • 186
                    < execute function = " SikuliUploadCommonFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                  </ else >
                </ if >
              • 190
                < execute function = " AssertChecked " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SELECT_ALL_CHECKBOX " />
              • 191
                < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE " value1 = " ${dmDocumentFile} " />
              </ else >
            </ if >
          • 195
            < if >
            • 196
              < isset var = " categoryName " />
            • 197
              < then >
              • 198
                < var name = " key_categoryName " value = " ${categoryName} " />
              • 199
                < if >
                • 201
                  < then >
                  • 202
                    < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_DROPDOWN_COLLAPSED " value1 = " Categorization " />
                  </ then >
                </ if >
              • 1 Before
                1 After
                206
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_TOPIC_SELECT_BUTTON " value1 = " Select " />
                TypeError: str is undefined [http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=classic&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=en_US&b=6210&t=1426598661000:3] com.liferay.portalweb.portal.util.liferayselenium.WebDriverHelper.assertJavaScriptErrors(WebDriverHelper.java:123) com.liferay.portalweb.portal.util.liferayselenium.BaseWebDriverImpl.assertJavaScriptErrors(BaseWebDriverImpl.java:149) com.liferay.portalweb.util.logger.LoggerHandler.invoke(LoggerHandler.java:78) com.liferay.portalweb.functions.AssertClickFunction.assertTextClickAt(AssertClickFunction.java:134) com.liferay.portalweb.functions.AssertClickFunction.assertClick(AssertClickFunction.java:38) com.liferay.portalweb.macros.DMDocumentMacro.addPGViaFlashUploader(DMDocumentMacro.java:2437) com.liferay.portalweb.tests.enduser.documentmanagement.documentsadministration.usecase.DocumentsadministrationUsecaseTestCase.methodViewPaginationCategoriesAndTags(DocumentsadministrationUsecaseTestCase.java:3144) com.liferay.portalweb.tests.enduser.documentmanagement.documentsadministration.usecase.DocumentsadministrationUsecaseTestCase.testViewPaginationCategoriesAndTags(DocumentsadministrationUsecaseTestCase.java:3801)
              • 208
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaCategoriesDialogBox#CATEGORY_TOPIC " value1 = " ${categoryName} " />
              • 209
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaCategoriesDialogBox#CLOSE_BUTTON " value1 = " × " />
              • 211
                < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_VOCABULARY_TAG " value1 = " ${categoryName} " />
              </ then >
            </ if >
          • 215
            < if >
            • 216
              < isset var = " categoryTag " />
            • 217
              < then >
              • 218
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#TAGS_ENTRY_BOX " />
              • 219
                < execute function = " Type " locator1 = " PGDocumentsandmediaAddmultipledocuments#TAGS_ENTRY_BOX " value1 = " ${categoryTag} " />
              • 220
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#TAGS_ADD_BUTTON " value1 = " Add " />
              • 221
                < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_TAG " value1 = " ${categoryTag} " />
              </ then >
            </ if >
          • 225
            < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#SAVE_BUTTON " value1 = " Save " />
          • 226
            < execute function = " AssertTextEquals#assertPartialText " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SUCCESS_MESSAGE " value1 = " Successfully saved. " />
          </ execute >
        • 469
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          470

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 473
          < execute macro = " DMDocument#addPGViaFlashUploader " >
          < var name = "dmDocumentFileList" value = "${dmDocumentFileList}" />
          474

          < var name = "uploadCommonFile" value = "${uploadCommonFile}" />
          475

          • 140
            < if >
            • 141
              < equals arg1 = " ${stagingActivated} " arg2 = " true " />
            • 142
              < then >
              • 143
                < execute function = " AssertElementNotPresent " locator1 = " PGDocumentsandmedia#STAGING_MESSAGE " value1 = " The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging. " />
              </ then >
            </ if >
          • 147
            < execute function = " AssertClick#waitForDMHomeAssertTextEqualsClick " locator1 = " PGDocumentsandmedia#TOOLBAR_ADD " value1 = " Add " />
          • 148
            < execute function = " AssertClick " locator1 = " PGDocumentsandmedia#ADD_MENULIST_MULTIPLE_DOCUMENTS " value1 = " Multiple Documents " />
          • 150
            < if >
            • 151
              < isset var = " dmDocumentFileList " />
            • 152
              < then >
              • 153
                < for list = " ${dmDocumentFileList} " param = " dmDocumentFile " >
                • 154
                  < var name = " key_dmDocumentFile " value = " ${dmDocumentFile} " />
                • 156
                  < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON " value1 = " Select Files " />
                • 157
                  < execute function = " Pause " locator1 = " 15000 " />
                • 159
                  < execute function = " SikuliClick " locator1 = " OS#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_PNG " />
                • 161
                  < if >
                  • 162
                    < equals arg1 = " ${uploadTempFile} " arg2 = " true " />
                  • 163
                    < then >
                    • 164
                      < execute function = " SikuliUploadTempFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                    </ then >
                  • 166
                    < else >
                    • 167
                      < execute function = " SikuliUploadCommonFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                    </ else >
                  </ if >
                • 171
                  < execute function = " AssertChecked " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SPECIFIC_CHECKBOX " />
                • 172
                  < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE " value1 = " ${dmDocumentFile} " />
                </ for >
              </ then >
            • 175
              < else >
              • 176
                < var name = " key_dmDocumentFile " value = " ${dmDocumentFile} " />
              • 178
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#SELECT_FILES_BUTTON " value1 = " Select Files " />
              • 180
                < if >
                • 181
                  < equals arg1 = " ${uploadTempFile} " arg2 = " true " />
                • 182
                  < then >
                  • 183
                    < execute function = " SikuliUploadTempFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                  </ then >
                • 185
                  < else >
                  • 186
                    < execute function = " SikuliUploadCommonFile " locator1 = " OS#FILE_DIALOG_BOX_FILE_NAME_FIELD_PNG " value1 = " ${dmDocumentFile} " />
                  </ else >
                </ if >
              • 190
                < execute function = " AssertChecked " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SELECT_ALL_CHECKBOX " />
              • 191
                < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_TITLE " value1 = " ${dmDocumentFile} " />
              </ else >
            </ if >
          • 195
            < if >
            • 196
              < isset var = " categoryName " />
            • 197
              < then >
              • 198
                < var name = " key_categoryName " value = " ${categoryName} " />
              • 199
                < if >
                • 201
                  < then >
                  • 202
                    < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_DROPDOWN_COLLAPSED " value1 = " Categorization " />
                  </ then >
                </ if >
              • 206
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_TOPIC_SELECT_BUTTON " value1 = " Select " />
              • 208
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaCategoriesDialogBox#CATEGORY_TOPIC " value1 = " ${categoryName} " />
              • 209
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaCategoriesDialogBox#CLOSE_BUTTON " value1 = " × " />
              • 211
                < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_VOCABULARY_TAG " value1 = " ${categoryName} " />
              </ then >
            </ if >
          • 215
            < if >
            • 216
              < isset var = " categoryTag " />
            • 217
              < then >
              • 218
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#TAGS_ENTRY_BOX " />
              • 219
                < execute function = " Type " locator1 = " PGDocumentsandmediaAddmultipledocuments#TAGS_ENTRY_BOX " value1 = " ${categoryTag} " />
              • 220
                < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#TAGS_ADD_BUTTON " value1 = " Add " />
              • 221
                < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmediaAddmultipledocuments#CATEGORIZATION_TAG " value1 = " ${categoryTag} " />
              </ then >
            </ if >
          • 225
            < execute function = " AssertClick " locator1 = " PGDocumentsandmediaAddmultipledocuments#SAVE_BUTTON " value1 = " Save " />
          • 226
            < execute function = " AssertTextEquals#assertPartialText " locator1 = " PGDocumentsandmediaAddmultipledocuments#ALL_FILES_READY_TO_BE_SAVED_SUCCESS_MESSAGE " value1 = " Successfully saved. " />
          </ execute >
        • 478
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          479

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 482
          < execute macro = " Portlet#gotoPortletOptions " >
          < var name = "portletName" value = "Documents and Media" />
          483

          < var name = "portletOption" value = "${portletOption}" />
          484

          • 194
            < if >
            • 195
              < isset var = " portletName " />
            • 196
              < then >
              • 197
                < var name = " key_portletName " value = " ${portletName} " />
              • 199
                < execute function = " AssertClick " locator1 = " BasePortlet#SPECIFIC_PORTLET_OPTIONS_ICON " value1 = " Options " />
              </ then >
            • 201
              < else >
              • 202
                < execute function = " AssertClick#pauseAssertTextClickAt " locator1 = " BasePortlet#OPTIONS_ICON " value1 = " Options " />
              </ else >
            </ if >
          • 206
            < if >
            • 207
              < equals arg1 = " ${portletOption} " arg2 = " Look and Feel " />
            • 208
              < then >
              • 209
                < execute function = " AssertClick " locator1 = " BasePortlet#OPTIONS_MENULIST_LOOK_AND_FEEL " value1 = " Look and Feel " />
              </ then >
            • 211
              < elseif >
              • 212
                < equals arg1 = " ${portletOption} " arg2 = " Configuration " />
              • 213
                < then >
                • 214
                  < execute function = " AssertClick#assertTextClickAndWait " locator1 = " BasePortlet#OPTIONS_MENULIST_CONFIGURATION " value1 = " Configuration " />
                </ then >
              </ elseif >
            • 217
              < elseif >
              • 218
                < equals arg1 = " ${portletOption} " arg2 = " Export / Import " />
              • 219
                < then >
                • 220
                  < execute function = " AssertClick " locator1 = " BasePortlet#OPTIONS_MENULIST_EXPORT_IMPORT " value1 = " Export / Import " />
                </ then >
              </ elseif >
            • 223
              < else >
              • 224
                < fail message = " Invalid var portletOption. Must be (Look and Feel|Configuration|Export / Import). " />
              </ else >
            </ if >
          </ execute >
        • 487
          < execute macro = " DMPortlet#configureDisplaySettingsMaximumEntriesToDisplay " >
          < var name = "documentsPerPage" value = "5" />
          488

          • 3
            < var name = " key_documentsPerPage " value = " ${documentsPerPage} " />
          • 5
            < execute function = " SelectFrame " locator1 = " PGDocumentlibraryConfiguration#DOCUMENT_LIBRARY_IFRAME " />
          • 6
            < execute function = " Select " locator1 = " PGDocumentlibraryConfiguration#DROPDOWN_SELECT_OPTION " value1 = " ${documentsPerPage} " />
          • 7
            < execute function = " AssertClick " locator1 = " PGDocumentlibraryConfiguration#SAVE_BUTTON " value1 = " Save " />
          • 8
            < execute function = " AssertTextEquals " locator1 = " PGDocumentlibraryConfiguration#SUCCESS_MESSAGE " value1 = " You have successfully updated the setup. " />
          • 9
            < execute function = " SelectFrame " value1 = " relative=top " />
          </ execute >
        • 491
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          492

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 495
          < execute macro = " Portlet#gotoPortletOptions " >
          < var name = "portletName" value = "Documents and Media Display" />
          496

          < var name = "portletOption" value = "${portletOption}" />
          497

          • 194
            < if >
            • 195
              < isset var = " portletName " />
            • 196
              < then >
              • 197
                < var name = " key_portletName " value = " ${portletName} " />
              • 199
                < execute function = " AssertClick " locator1 = " BasePortlet#SPECIFIC_PORTLET_OPTIONS_ICON " value1 = " Options " />
              </ then >
            • 201
              < else >
              • 202
                < execute function = " AssertClick#pauseAssertTextClickAt " locator1 = " BasePortlet#OPTIONS_ICON " value1 = " Options " />
              </ else >
            </ if >
          • 206
            < if >
            • 207
              < equals arg1 = " ${portletOption} " arg2 = " Look and Feel " />
            • 208
              < then >
              • 209
                < execute function = " AssertClick " locator1 = " BasePortlet#OPTIONS_MENULIST_LOOK_AND_FEEL " value1 = " Look and Feel " />
              </ then >
            • 211
              < elseif >
              • 212
                < equals arg1 = " ${portletOption} " arg2 = " Configuration " />
              • 213
                < then >
                • 214
                  < execute function = " AssertClick#assertTextClickAndWait " locator1 = " BasePortlet#OPTIONS_MENULIST_CONFIGURATION " value1 = " Configuration " />
                </ then >
              </ elseif >
            • 217
              < elseif >
              • 218
                < equals arg1 = " ${portletOption} " arg2 = " Export / Import " />
              • 219
                < then >
                • 220
                  < execute function = " AssertClick " locator1 = " BasePortlet#OPTIONS_MENULIST_EXPORT_IMPORT " value1 = " Export / Import " />
                </ then >
              </ elseif >
            • 223
              < else >
              • 224
                < fail message = " Invalid var portletOption. Must be (Look and Feel|Configuration|Export / Import). " />
              </ else >
            </ if >
          </ execute >
        • 500
          < execute macro = " DMDisplayPortlet#configureDocumentListingsDocumentsPerPage " >
          < var name = "documentsPerPage" value = "5" />
          501

          • 3
            < var name = " key_documentsPerPage " value = " ${documentsPerPage} " />
          • 5
            < execute function = " SelectFrame " locator1 = " PGDocumentlibrarydisplayConfiguration#DOCUMENTS_AND_MEDIA_DISPLAY_IFRAME " />
          • 6
            < execute function = " Type " locator1 = " PGDocumentlibrarydisplayConfiguration#SETUP_DOCUMENTS_LISTING_DOCUMENTS_PER_PAGE_FIELD " value1 = " ${documentsPerPage} " />
          • 7
            < execute function = " AssertClick " locator1 = " PGDocumentlibrarydisplayConfiguration#SAVE_BUTTON " value1 = " Save " />
          • 8
            < execute function = " AssertTextEquals " locator1 = " PGDocumentlibrarydisplayConfiguration#SUCCESS_MESSAGE " value1 = " You have successfully updated the setup. " />
          • 9
            < execute function = " SelectFrame " value1 = " relative=top " />
          </ execute >
        • 504
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          505

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 508
          < execute macro = " DMPortlet#viewPaginationControlsPG " >
          • 23
            < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmedia#PAGINATION_NEXT " value1 = " Next " />
          • 24
            < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmedia#PAGINATION_PREVIOUS " value1 = " Prev " />
          </ execute >
        • 510
          < execute macro = " DMDisplayPortlet#viewPaginationControlsPG " >
          • 13
            < execute function = " AssertTextEquals " locator1 = " PGDocumentlibrarydisplay#PAGINATION_NEXT " value1 = " Next " />
          • 14
            < execute function = " AssertTextEquals " locator1 = " PGDocumentlibrarydisplay#PAGINATION_PREVIOUS " value1 = " Previous " />
          </ execute >
        • 512
          < execute macro = " Page#gotoPG " >
          < var name = "pageName" value = "${pageName}" />
          513

          • 252
            < if >
            • 253
              < isset var = " nodePort " />
            • 254
              < then >
              • 255
                < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
              </ then >
            • 257
              < elseif >
              • 258
                < not >
                • 259
                  < equals arg1 = " ${defaultURL} " arg2 = " false " />
                </ not >
              • 261
                < then >
                • 262
                  < execute macro = " Page#openURL " >
                  • 329
                    < if >
                    • 330
                      < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                    • 331
                      < then >
                      • 332
                        < var name = " pageAccessURL " value = " /group " />
                      </ then >
                    • 334
                      < else >
                      • 335
                        < var name = " pageAccessURL " value = " /web " />
                      </ else >
                    </ if >
                  • 339
                    < if >
                    • 340
                      < and >
                      • 341
                        < isset var = " siteName " />
                      • 342
                        < equals arg1 = " ${siteURL} " arg2 = " true " />
                      </ and >
                    • 344
                      < then >
                      • 345
                        < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                      • 346
                        < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                      </ then >
                    • 348
                      < elseif >
                      • 349
                        < isset var = " friendlyURL " />
                      • 350
                        < then >
                        • 351
                          < var name = " siteNameURL " value = " /${friendlyURL} " />
                        </ then >
                      </ elseif >
                    • 354
                      < else >
                      • 355
                        < var name = " siteNameURL " value = " /guest " />
                      </ else >
                    </ if >
                  • 359
                    < if >
                    • 360
                      < equals arg1 = " ${pageStaging} " arg2 = " true " />
                    • 361
                      < then >
                      • 362
                        < var name = " pageStagingURL " value = " -staging " />
                      </ then >
                    • 364
                      < else >
                      • 365
                        < var name = " pageStagingURL " value = " " />
                      </ else >
                    </ if >
                  • 369
                    < if >
                    • 370
                      < isset var = " virtualHostsURL " />
                    • 371
                      < then >
                      • 372
                        < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                      • 374
                        < execute function = " Open " locator1 = " ${siteNameURL} " />
                      </ then >
                    • 376
                      < elseif >
                      • 377
                        < isset var = " specificURL " />
                      • 378
                        < then >
                        • 379
                          < execute function = " Open " locator1 = " ${specificURL} " />
                        </ then >
                      </ elseif >
                    • 382
                      < else >
                      • 383
                        < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                      </ else >
                    </ if >
                  </ execute >
                </ then >
              </ elseif >
            </ if >
          • 267
            < if >
            • 268
              < equals arg1 = " ${soPage} " arg2 = " true " />
            • 269
              < then >
              • 270
                < if >
                • 271
                  < equals arg1 = " ${soDashboard} " arg2 = " true " />
                • 272
                  < then >
                  • 273
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 275
                    < execute macro = " SOUserBar#gotoDashboardPG " >
                    • 266
                      < execute function = " AssertClick " locator1 = " SOUserBar#DASHBOARD " value1 = " Dashboard " />
                    • 267
                      < execute function = " Pause " locator1 = " 1000 " />
                    • 269
                      < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                    • 271
                      < execute function = " AssertElementPresent " locator1 = " SOStatusUpdate#STATUS_UPDATE_CONTENT_FIELD " />
                    </ execute >
                  • 277
                    < execute function = " Click " locator1 = " SODashboard#NAVIGATION_PAGE " />
                  </ then >
                • 279
                  < else >
                  • 280
                    < var name = " key_pageName " value = " ${pageName} " />
                  • 282
                    < execute function = " AssertElementPresent " locator1 = " SOActivities#ACTIVITIES_PORTLET_LOADED " />
                  • 284
                    < execute function = " Click " locator1 = " SOSite#NAVIGATION_PAGE " />
                  </ else >
                </ if >
              </ then >
            • 288
              < else >
              • 289
                289
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " value = " " />
                < execute function = " AssertClick " locator1 = " Home#PAGE " value1 = " ${pageName} " >
                < var name = "key_pageName" value = "${pageName}" />
                290

                </ execute >
              </ else >
            </ if >
          </ execute >
        • 516
          < execute macro = " Category#gotoCategoryPG " >
          < var name = "categoryName" value = "Category Name" />
          517

          • 236
            < var name = " key_categoryName " value = " ${categoryName} " />
          • 238
            < execute function = " AssertClick " locator1 = " PGCategoriesnavigation#CATEGORY_NAME " value1 = " ${key_categoryName} " />
          </ execute >
        • 520
          < execute macro = " DMPortlet#viewPaginationControlsPG " >
          • 23
            < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmedia#PAGINATION_NEXT " value1 = " Next " />
          • 24
            < execute function = " AssertTextEquals " locator1 = " PGDocumentsandmedia#PAGINATION_PREVIOUS " value1 = " Prev " />
          </ execute >
        • 522
          < execute macro = " DMDisplayPortlet#viewPaginationControlsPG " >
          • 13
            < execute function = " AssertTextEquals " locator1 = " PGDocumentlibrarydisplay#PAGINATION_NEXT " value1 = " Next " />
          • 14
            < execute function = " AssertTextEquals " locator1 = " PGDocumentlibrarydisplay#PAGINATION_PREVIOUS " value1 = " Previous " />
          </ execute >
        </ command >
      • 8
        < tear-down >
        • 9
          < execute macro = " User#firstLoginPG " >
          • 2
            < var name = " password " value = " test " />
          • 3
            < var name = " userEmailAddress " value = " test@liferay.com " />
          • 1218
            < echo message = " Checking to see if Mobile Device is enabled... " />
          • 1220
            < var method = " selenium#isMobileDeviceEnabled() " name = " mobileDeviceEnabled " />
          • 1222
            < if >
            • 1223
              < equals arg1 = " ${mobileDeviceEnabled} " arg2 = " true " />
            • 1224
              < then >
              • 1225
                < execute macro = " MobileDevice#selectMobileDevice " >
                • 106
                  < execute function = " SikuliClick " locator1 = " MobileDevice#MOBILE_DEVICE_SCREENSHOT " />
                </ execute >
              </ then >
            </ if >
          • 1229
            < echo message = " Checking to see if TCat is enabled... " />
          • 1231
            < var method = " selenium#isTCatEnabled() " name = " tcatEnabled " />
          • 1233
            < if >
            • 1234
              < equals arg1 = " ${tcatEnabled} " arg2 = " true " />
            • 1235
              < then >
              • 1236
                < execute macro = " TCat#deployLiferayPortalWar " >
                • 3
                  < echo message = " Deploying liferay-portal.war to TCat... " />
                • 5
                  < execute function = " Type " locator1 = " TCat#USER_NAME_FIELD " value1 = " admin " />
                • 6
                  < execute function = " Type " locator1 = " TCat#PASSWORD_FIELD " value1 = " admin " />
                • 7
                  < execute function = " Click " locator1 = " TCat#LOG_IN_BUTTON " value1 = " Login " />
                • 9
                  < execute function = " Click " locator1 = " TCat#SERVER_TAB " />
                • 10
                  < execute function = " Click " locator1 = " TCat#UNREGISTERED " />
                • 11
                  < execute function = " Click " locator1 = " TCat#UNREGISTERED_CHECK " />
                • 12
                  < execute function = " Click " locator1 = " TCat#REGISTER_BUTTON " />
                • 14
                  < execute function = " Click " locator1 = " TCat#REPOSITORY_TAB " />
                • 15
                  < execute function = " Click " locator1 = " TCat#APPLICATION_FOLDER " />
                • 16
                  < execute function = " Click " locator1 = " TCat#NEW_WORKSPACE_BUTTON " />
                • 17
                  < execute function = " SikuliType " locator1 = " TCat#NEW_WORKSPACE_NAME_FIELD " value1 = " Liferay " />
                • 18
                  < execute function = " SikuliClick " locator1 = " TCat#NEW_WORKSPACE_ADD_BUTTON " />
                • 20
                  < execute function = " Click " locator1 = " TCat#NEW_ARTIFACT_BUTTON " />
                • 21
                  < execute function = " SikuliClick " locator1 = " TCat#NEW_ARTIFACT_BROWSE_BUTTON " />
                • 22
                  < execute function = " SikuliClick " locator1 = " TCat#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_CLICKED " />
                • 23
                  < execute function = " SikuliClick " locator1 = " TCat#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON " />
                • 24
                  < execute function = " SikuliClick " locator1 = " TCat#FILE_DIALOG_BOX_TYPE_FILE_NAME_ICON_LINUX " />
                • 25
                  < execute function = " SikuliUploadTCatFile " locator1 = " TCat#FILE_DIALOG_BOX_FILE_NAME_FIELD " value1 = " ROOT.war " />
                • 26
                  < execute function = " SikuliClick " locator1 = " TCat#NEW_ARTIFACT_ADD_BUTTON " />
                • 28
                  < execute function = " Pause " locator1 = " 5000 " />
                • 29
                  < execute function = " Click " locator1 = " TCat#DEPLOYMENT_TAB " />
                • 30
                  < execute function = " Click " locator1 = " TCat#NEW_DEPLOYMENT_BUTTON " />
                • 31
                  < execute function = " Type " locator1 = " TCat#NEW_DEPLOYMENT_NAME_FIELD " value1 = " Liferay " />
                • 32
                  < execute function = " Click " locator1 = " TCat#ADD_FROM_REPOSITORY_BUTTON " />
                • 33
                  < execute function = " SikuliClick " locator1 = " TCat#SELECT_WEB_APPLICATION_FIELD " />
                • 34
                  < execute function = " SikuliClick " locator1 = " TCat#LIFERAY_ROOT_OPTION " />
                • 35
                  < execute function = " SikuliClick " locator1 = " TCat#SELECT_WEB_APPLICATION_BUTTON " />
                • 37
                  < execute function = " SikuliClick " locator1 = " TCat#SELECT_SERVER_DROPDOWN " />
                • 38
                  < execute function = " SikuliClick " locator1 = " TCat#TOMCAT_SERVER_OPTION " />
                • 39
                  < execute function = " Click " locator1 = " TCat#SERVER_DEPLOY_BUTTON " />
                • 41
                  < execute function = " Pause " locator1 = " 160000 " />
                </ execute >
              </ then >
            </ if >
          • 1240
            < execute macro = " Page#openURL " >
            • 329
              < if >
              • 330
                < equals arg1 = " ${pageAccess} " arg2 = " Private " />
              • 331
                < then >
                • 332
                  < var name = " pageAccessURL " value = " /group " />
                </ then >
              • 334
                < else >
                • 335
                  < var name = " pageAccessURL " value = " /web " />
                </ else >
              </ if >
            • 339
              < if >
              • 340
                < and >
                • 341
                  < isset var = " siteName " />
                • 342
                  < equals arg1 = " ${siteURL} " arg2 = " true " />
                </ and >
              • 344
                < then >
                • 345
                  < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                • 346
                  < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                </ then >
              • 348
                < elseif >
                • 349
                  < isset var = " friendlyURL " />
                • 350
                  < then >
                  • 351
                    < var name = " siteNameURL " value = " /${friendlyURL} " />
                  </ then >
                </ elseif >
              • 354
                < else >
                • 355
                  < var name = " siteNameURL " value = " /guest " />
                </ else >
              </ if >
            • 359
              < if >
              • 360
                < equals arg1 = " ${pageStaging} " arg2 = " true " />
              • 361
                < then >
                • 362
                  < var name = " pageStagingURL " value = " -staging " />
                </ then >
              • 364
                < else >
                • 365
                  < var name = " pageStagingURL " value = " " />
                </ else >
              </ if >
            • 369
              < if >
              • 370
                < isset var = " virtualHostsURL " />
              • 371
                < then >
                • 372
                  < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                • 374
                  < execute function = " Open " locator1 = " ${siteNameURL} " />
                </ then >
              • 376
                < elseif >
                • 377
                  < isset var = " specificURL " />
                • 378
                  < then >
                  • 379
                    < execute function = " Open " locator1 = " ${specificURL} " />
                  </ then >
                </ elseif >
              • 382
                < else >
                • 383
                  < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                </ else >
              </ if >
            </ execute >
          • 1242
            < if >
            • 1244
              < then >
              • 1245
                < execute macro = " User#logoutPG " >
                • 2
                  < var name = " password " value = " test " />
                • 3
                  < var name = " userEmailAddress " value = " test@liferay.com " />
                • 1379
                  < if >
                  • 1380
                    < isset var = " nodePort " />
                  • 1381
                    < then >
                    • 1382
                      < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                    </ then >
                  • 1384
                    < else >
                    • 1385
                      < execute macro = " Page#openURL " >
                      • 329
                        < if >
                        • 330
                          < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                        • 331
                          < then >
                          • 332
                            < var name = " pageAccessURL " value = " /group " />
                          </ then >
                        • 334
                          < else >
                          • 335
                            < var name = " pageAccessURL " value = " /web " />
                          </ else >
                        </ if >
                      • 339
                        < if >
                        • 340
                          < and >
                          • 341
                            < isset var = " siteName " />
                          • 342
                            < equals arg1 = " ${siteURL} " arg2 = " true " />
                          </ and >
                        • 344
                          < then >
                          • 345
                            < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                          • 346
                            < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                          </ then >
                        • 348
                          < elseif >
                          • 349
                            < isset var = " friendlyURL " />
                          • 350
                            < then >
                            • 351
                              < var name = " siteNameURL " value = " /${friendlyURL} " />
                            </ then >
                          </ elseif >
                        • 354
                          < else >
                          • 355
                            < var name = " siteNameURL " value = " /guest " />
                          </ else >
                        </ if >
                      • 359
                        < if >
                        • 360
                          < equals arg1 = " ${pageStaging} " arg2 = " true " />
                        • 361
                          < then >
                          • 362
                            < var name = " pageStagingURL " value = " -staging " />
                          </ then >
                        • 364
                          < else >
                          • 365
                            < var name = " pageStagingURL " value = " " />
                          </ else >
                        </ if >
                      • 369
                        < if >
                        • 370
                          < isset var = " virtualHostsURL " />
                        • 371
                          < then >
                          • 372
                            < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                          • 374
                            < execute function = " Open " locator1 = " ${siteNameURL} " />
                          </ then >
                        • 376
                          < elseif >
                          • 377
                            < isset var = " specificURL " />
                          • 378
                            < then >
                            • 379
                              < execute function = " Open " locator1 = " ${specificURL} " />
                            </ then >
                          </ elseif >
                        • 382
                          < else >
                          • 383
                            < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                          </ else >
                        </ if >
                      </ execute >
                    </ else >
                  </ if >
                • 1389
                  < if >
                  • 1391
                    < then >
                    • 1392
                      < execute function = " Click " locator1 = " Dockbar#USER_NAME " />
                    • 1393
                      < execute function = " Click " locator1 = " Dockbar#USER_SIGN_OUT " />
                    </ then >
                  </ if >
                </ execute >
              • 1246
                < execute macro = " User#loginPG " >
                • 2
                  < var name = " password " value = " test " />
                • 3
                  < var name = " userEmailAddress " value = " test@liferay.com " />
                • 1275
                  < if >
                  • 1276
                    < isset var = " nodePort " />
                  • 1277
                    < then >
                    • 1278
                      < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                    </ then >
                  • 1280
                    < else >
                    • 1281
                      < execute macro = " Page#openURL " >
                      • 329
                        < if >
                        • 330
                          < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                        • 331
                          < then >
                          • 332
                            < var name = " pageAccessURL " value = " /group " />
                          </ then >
                        • 334
                          < else >
                          • 335
                            < var name = " pageAccessURL " value = " /web " />
                          </ else >
                        </ if >
                      • 339
                        < if >
                        • 340
                          < and >
                          • 341
                            < isset var = " siteName " />
                          • 342
                            < equals arg1 = " ${siteURL} " arg2 = " true " />
                          </ and >
                        • 344
                          < then >
                          • 345
                            < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                          • 346
                            < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                          </ then >
                        • 348
                          < elseif >
                          • 349
                            < isset var = " friendlyURL " />
                          • 350
                            < then >
                            • 351
                              < var name = " siteNameURL " value = " /${friendlyURL} " />
                            </ then >
                          </ elseif >
                        • 354
                          < else >
                          • 355
                            < var name = " siteNameURL " value = " /guest " />
                          </ else >
                        </ if >
                      • 359
                        < if >
                        • 360
                          < equals arg1 = " ${pageStaging} " arg2 = " true " />
                        • 361
                          < then >
                          • 362
                            < var name = " pageStagingURL " value = " -staging " />
                          </ then >
                        • 364
                          < else >
                          • 365
                            < var name = " pageStagingURL " value = " " />
                          </ else >
                        </ if >
                      • 369
                        < if >
                        • 370
                          < isset var = " virtualHostsURL " />
                        • 371
                          < then >
                          • 372
                            < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                          • 374
                            < execute function = " Open " locator1 = " ${siteNameURL} " />
                          </ then >
                        • 376
                          < elseif >
                          • 377
                            < isset var = " specificURL " />
                          • 378
                            < then >
                            • 379
                              < execute function = " Open " locator1 = " ${specificURL} " />
                            </ then >
                          </ elseif >
                        • 382
                          < else >
                          • 383
                            < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                          </ else >
                        </ if >
                      </ execute >
                    </ else >
                  </ if >
                • 1285
                  < if >
                  • 1286
                    < isset var = " loginViaDockbar " />
                  • 1287
                    < then >
                    • 1288
                      < execute function = " AssertClick " locator1 = " Dockbar#USER_SIGN_IN " value1 = " Sign In " />
                    </ then >
                  </ if >
                • 1292
                  < if >
                  • 1293
                    < equals arg1 = " ${authenticationMethod} " arg2 = " By Screen Name " />
                  • 1294
                    < then >
                    • 1295
                      < execute function = " Type " locator1 = " PGLogin#SCREEN_NAME_FIELD " value1 = " ${userScreenName} " />
                    </ then >
                  • 1297
                    < else >
                    • 1298
                      < execute function = " Type " locator1 = " PGLogin#EMAIL_ADDRESS_FIELD " value1 = " ${userEmailAddress} " />
                    </ else >
                  </ if >
                • 1302
                  < execute function = " Type " locator1 = " PGLogin#PASSWORD_FIELD " value1 = " ${password} " />
                • 1304
                  < if >
                  • 1305
                    < equals arg1 = " ${rememberMeChecked} " arg2 = " true " />
                  • 1306
                    < then >
                    • 1307
                      < execute function = " Check " locator1 = " PGLogin#REMEMBER_ME_CHECKBOX " />
                    </ then >
                  </ if >
                • 1313
                  < execute function = " Click " locator1 = " PGLogin#SIGN_IN_BUTTON " value1 = " Sign In " />
                • 1315
                  < if >
                  • 1317
                    < then >
                    • 1318
                      < execute function = " AssertClick " locator1 = " PGLoginTermsofservice#I_AGREE_BUTTON " value1 = " I Agree " />
                    </ then >
                  </ if >
                • 1322
                  < if >
                  • 1324
                    < then >
                    • 1325
                      < execute function = " Type " locator1 = " PGLoginNewpassword#PASSWORD_FIELD " value1 = " test " />
                    • 1326
                      < execute function = " Type " locator1 = " PGLoginNewpassword#ENTER_AGAIN_FIELD " value1 = " test " />
                    • 1327
                      < execute function = " AssertClick " locator1 = " PGLoginNewpassword#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                • 1331
                  < if >
                  • 1333
                    < then >
                    • 1334
                      < execute function = " Type " locator1 = " PGLoginPasswordreminder#ANSWER_FIELD " value1 = " test " />
                    • 1335
                      < execute function = " AssertClick " locator1 = " PGLoginPasswordreminder#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                </ execute >
              </ then >
            • 1248
              < else >
              • 1249
                < execute macro = " User#loginPG " >
                • 2
                  < var name = " password " value = " test " />
                • 3
                  < var name = " userEmailAddress " value = " test@liferay.com " />
                • 1275
                  < if >
                  • 1276
                    < isset var = " nodePort " />
                  • 1277
                    < then >
                    • 1278
                      < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                    </ then >
                  • 1280
                    < else >
                    • 1281
                      < execute macro = " Page#openURL " >
                      • 329
                        < if >
                        • 330
                          < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                        • 331
                          < then >
                          • 332
                            < var name = " pageAccessURL " value = " /group " />
                          </ then >
                        • 334
                          < else >
                          • 335
                            < var name = " pageAccessURL " value = " /web " />
                          </ else >
                        </ if >
                      • 339
                        < if >
                        • 340
                          < and >
                          • 341
                            < isset var = " siteName " />
                          • 342
                            < equals arg1 = " ${siteURL} " arg2 = " true " />
                          </ and >
                        • 344
                          < then >
                          • 345
                            < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                          • 346
                            < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                          </ then >
                        • 348
                          < elseif >
                          • 349
                            < isset var = " friendlyURL " />
                          • 350
                            < then >
                            • 351
                              < var name = " siteNameURL " value = " /${friendlyURL} " />
                            </ then >
                          </ elseif >
                        • 354
                          < else >
                          • 355
                            < var name = " siteNameURL " value = " /guest " />
                          </ else >
                        </ if >
                      • 359
                        < if >
                        • 360
                          < equals arg1 = " ${pageStaging} " arg2 = " true " />
                        • 361
                          < then >
                          • 362
                            < var name = " pageStagingURL " value = " -staging " />
                          </ then >
                        • 364
                          < else >
                          • 365
                            < var name = " pageStagingURL " value = " " />
                          </ else >
                        </ if >
                      • 369
                        < if >
                        • 370
                          < isset var = " virtualHostsURL " />
                        • 371
                          < then >
                          • 372
                            < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                          • 374
                            < execute function = " Open " locator1 = " ${siteNameURL} " />
                          </ then >
                        • 376
                          < elseif >
                          • 377
                            < isset var = " specificURL " />
                          • 378
                            < then >
                            • 379
                              < execute function = " Open " locator1 = " ${specificURL} " />
                            </ then >
                          </ elseif >
                        • 382
                          < else >
                          • 383
                            < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                          </ else >
                        </ if >
                      </ execute >
                    </ else >
                  </ if >
                • 1285
                  < if >
                  • 1286
                    < isset var = " loginViaDockbar " />
                  • 1287
                    < then >
                    • 1288
                      < execute function = " AssertClick " locator1 = " Dockbar#USER_SIGN_IN " value1 = " Sign In " />
                    </ then >
                  </ if >
                • 1292
                  < if >
                  • 1293
                    < equals arg1 = " ${authenticationMethod} " arg2 = " By Screen Name " />
                  • 1294
                    < then >
                    • 1295
                      < execute function = " Type " locator1 = " PGLogin#SCREEN_NAME_FIELD " value1 = " ${userScreenName} " />
                    </ then >
                  • 1297
                    < else >
                    • 1298
                      < execute function = " Type " locator1 = " PGLogin#EMAIL_ADDRESS_FIELD " value1 = " ${userEmailAddress} " />
                    </ else >
                  </ if >
                • 1302
                  < execute function = " Type " locator1 = " PGLogin#PASSWORD_FIELD " value1 = " ${password} " />
                • 1304
                  < if >
                  • 1305
                    < equals arg1 = " ${rememberMeChecked} " arg2 = " true " />
                  • 1306
                    < then >
                    • 1307
                      < execute function = " Check " locator1 = " PGLogin#REMEMBER_ME_CHECKBOX " />
                    </ then >
                  </ if >
                • 1313
                  < execute function = " Click " locator1 = " PGLogin#SIGN_IN_BUTTON " value1 = " Sign In " />
                • 1315
                  < if >
                  • 1317
                    < then >
                    • 1318
                      < execute function = " AssertClick " locator1 = " PGLoginTermsofservice#I_AGREE_BUTTON " value1 = " I Agree " />
                    </ then >
                  </ if >
                • 1322
                  < if >
                  • 1324
                    < then >
                    • 1325
                      < execute function = " Type " locator1 = " PGLoginNewpassword#PASSWORD_FIELD " value1 = " test " />
                    • 1326
                      < execute function = " Type " locator1 = " PGLoginNewpassword#ENTER_AGAIN_FIELD " value1 = " test " />
                    • 1327
                      < execute function = " AssertClick " locator1 = " PGLoginNewpassword#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                • 1331
                  < if >
                  • 1333
                    < then >
                    • 1334
                      < execute function = " Type " locator1 = " PGLoginPasswordreminder#ANSWER_FIELD " value1 = " test " />
                    • 1335
                      < execute function = " AssertClick " locator1 = " PGLoginPasswordreminder#SAVE_BUTTON " value1 = " Save " />
                    </ then >
                  </ if >
                </ execute >
              </ else >
            </ if >
          </ execute >
        • 11
          < execute macro = " DMDocument#tearDownCP " >
          • 1000
            < execute macro = " Page#gotoContentCP " >
            < var name = "portletName" value = "Documents and Media" />
            1001

            • 184
              < execute macro = " Page#gotoCmdCP " >
              < var name = "portletCategoryKey" value = "ADMIN_SITE_ADMINISTRATION_CONTENT" />
              185

              < var name = "portletCategoryName" value = "Content" />
              186

              < var name = "portletName" value = "${portletName}" />
              187

              • 124
                < if >
                • 125
                  < isset var = " nodePort " />
                • 126
                  < then >
                  • 127
                    < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                  </ then >
                • 129
                  < else >
                  • 130
                    < execute macro = " Page#openURL " >
                    • 329
                      < if >
                      • 330
                        < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                      • 331
                        < then >
                        • 332
                          < var name = " pageAccessURL " value = " /group " />
                        </ then >
                      • 334
                        < else >
                        • 335
                          < var name = " pageAccessURL " value = " /web " />
                        </ else >
                      </ if >
                    • 339
                      < if >
                      • 340
                        < and >
                        • 341
                          < isset var = " siteName " />
                        • 342
                          < equals arg1 = " ${siteURL} " arg2 = " true " />
                        </ and >
                      • 344
                        < then >
                        • 345
                          < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                        • 346
                          < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                        </ then >
                      • 348
                        < elseif >
                        • 349
                          < isset var = " friendlyURL " />
                        • 350
                          < then >
                          • 351
                            < var name = " siteNameURL " value = " /${friendlyURL} " />
                          </ then >
                        </ elseif >
                      • 354
                        < else >
                        • 355
                          < var name = " siteNameURL " value = " /guest " />
                        </ else >
                      </ if >
                    • 359
                      < if >
                      • 360
                        < equals arg1 = " ${pageStaging} " arg2 = " true " />
                      • 361
                        < then >
                        • 362
                          < var name = " pageStagingURL " value = " -staging " />
                        </ then >
                      • 364
                        < else >
                        • 365
                          < var name = " pageStagingURL " value = " " />
                        </ else >
                      </ if >
                    • 369
                      < if >
                      • 370
                        < isset var = " virtualHostsURL " />
                      • 371
                        < then >
                        • 372
                          < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                        • 374
                          < execute function = " Open " locator1 = " ${siteNameURL} " />
                        </ then >
                      • 376
                        < elseif >
                        • 377
                          < isset var = " specificURL " />
                        • 378
                          < then >
                          • 379
                            < execute function = " Open " locator1 = " ${specificURL} " />
                          </ then >
                        </ elseif >
                      • 382
                        < else >
                        • 383
                          < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                        </ else >
                      </ if >
                    </ execute >
                  </ else >
                </ if >
              • 134
                < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
              • 135
                < execute function = " AssertClick " locator1 = " Dockbar#${portletCategoryKey} " value1 = " ${portletCategoryName} " />
              • 137
                < if >
                • 138
                  < isset var = " siteScopeName " />
                • 139
                  < then >
                  • 140
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR " />
                  • 142
                    < var name = " key_siteScopeName " value = " ${siteScopeName} " />
                  • 144
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR_MENULIST_ITEM " />
                  </ then >
                </ if >
              • 148
                < var name = " key_portletCategoryName " value = " ${portletCategoryName} " />
              • 150
                < if >
                • 152
                  < then >
                  • 153
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED " value1 = " ${portletCategoryName} " />
                  • 155
                    < execute function = " AssertTextEquals " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_EXPANDED " value1 = " ${portletCategoryName} " />
                  </ then >
                </ if >
              • 159
                < if >
                • 160
                  < not >
                  • 161
                    < contains string = " ${portletName} " substring = " {portletName} " />
                  </ not >
                • 163
                  < then >
                  • 164
                    < var name = " key_portletName " value = " ${portletName} " />
                  • 166
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_NAVIGATION " value1 = " ${portletName} " />
                  </ then >
                </ if >
              </ execute >
            </ execute >
          • 1004
            < if >
            • 1006
              < then >
              • 1007
                < execute function = " Check " locator1 = " CPDocumentsandmedia#TOOLBAR_SELECT_ALL_ROWS_CHECKBOX " />
              • 1008
                < execute function = " AssertClick#waitForDMHomeAssertTextEqualsClick " locator1 = " CPDocumentsandmedia#TOOLBAR_ACTIONS " value1 = " Actions " />
              • 1009
                < execute function = " AssertElementPresent " locator1 = " CPDocumentsandmedia#ACTIONS_MENULIST_MOVE_TO_THE_RECYCLE_BIN " />
              • 1010
                < execute function = " AssertClick " locator1 = " CPDocumentsandmedia#ACTIONS_MENULIST_MOVE_TO_THE_RECYCLE_BIN " value1 = " Move to the Recycle Bin " />
              </ then >
            </ if >
          • 1014
            < execute macro = " Page#gotoContentCP " >
            < var name = "portletName" value = "Recycle Bin" />
            1015

            • 184
              < execute macro = " Page#gotoCmdCP " >
              < var name = "portletCategoryKey" value = "ADMIN_SITE_ADMINISTRATION_CONTENT" />
              185

              < var name = "portletCategoryName" value = "Content" />
              186

              < var name = "portletName" value = "${portletName}" />
              187

              • 124
                < if >
                • 125
                  < isset var = " nodePort " />
                • 126
                  < then >
                  • 127
                    < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                  </ then >
                • 129
                  < else >
                  • 130
                    < execute macro = " Page#openURL " >
                    • 329
                      < if >
                      • 330
                        < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                      • 331
                        < then >
                        • 332
                          < var name = " pageAccessURL " value = " /group " />
                        </ then >
                      • 334
                        < else >
                        • 335
                          < var name = " pageAccessURL " value = " /web " />
                        </ else >
                      </ if >
                    • 339
                      < if >
                      • 340
                        < and >
                        • 341
                          < isset var = " siteName " />
                        • 342
                          < equals arg1 = " ${siteURL} " arg2 = " true " />
                        </ and >
                      • 344
                        < then >
                        • 345
                          < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                        • 346
                          < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                        </ then >
                      • 348
                        < elseif >
                        • 349
                          < isset var = " friendlyURL " />
                        • 350
                          < then >
                          • 351
                            < var name = " siteNameURL " value = " /${friendlyURL} " />
                          </ then >
                        </ elseif >
                      • 354
                        < else >
                        • 355
                          < var name = " siteNameURL " value = " /guest " />
                        </ else >
                      </ if >
                    • 359
                      < if >
                      • 360
                        < equals arg1 = " ${pageStaging} " arg2 = " true " />
                      • 361
                        < then >
                        • 362
                          < var name = " pageStagingURL " value = " -staging " />
                        </ then >
                      • 364
                        < else >
                        • 365
                          < var name = " pageStagingURL " value = " " />
                        </ else >
                      </ if >
                    • 369
                      < if >
                      • 370
                        < isset var = " virtualHostsURL " />
                      • 371
                        < then >
                        • 372
                          < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                        • 374
                          < execute function = " Open " locator1 = " ${siteNameURL} " />
                        </ then >
                      • 376
                        < elseif >
                        • 377
                          < isset var = " specificURL " />
                        • 378
                          < then >
                          • 379
                            < execute function = " Open " locator1 = " ${specificURL} " />
                          </ then >
                        </ elseif >
                      • 382
                        < else >
                        • 383
                          < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                        </ else >
                      </ if >
                    </ execute >
                  </ else >
                </ if >
              • 134
                < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
              • 135
                < execute function = " AssertClick " locator1 = " Dockbar#${portletCategoryKey} " value1 = " ${portletCategoryName} " />
              • 137
                < if >
                • 138
                  < isset var = " siteScopeName " />
                • 139
                  < then >
                  • 140
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR " />
                  • 142
                    < var name = " key_siteScopeName " value = " ${siteScopeName} " />
                  • 144
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR_MENULIST_ITEM " />
                  </ then >
                </ if >
              • 148
                < var name = " key_portletCategoryName " value = " ${portletCategoryName} " />
              • 150
                < if >
                • 152
                  < then >
                  • 153
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED " value1 = " ${portletCategoryName} " />
                  • 155
                    < execute function = " AssertTextEquals " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_EXPANDED " value1 = " ${portletCategoryName} " />
                  </ then >
                </ if >
              • 159
                < if >
                • 160
                  < not >
                  • 161
                    < contains string = " ${portletName} " substring = " {portletName} " />
                  </ not >
                • 163
                  < then >
                  • 164
                    < var name = " key_portletName " value = " ${portletName} " />
                  • 166
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_NAVIGATION " value1 = " ${portletName} " />
                  </ then >
                </ if >
              </ execute >
            </ execute >
          • 1018
            < execute macro = " RecycleBin#emptyCP " >
            • 16
              < if >
              • 18
                < then >
                • 19
                  < execute function = " AssertClickNoError " locator1 = " CPRecyclebin#EMPTY_RECYCLE_BIN " value1 = " Empty the Recycle Bin " />
                • 20
                  < execute function = " Confirm#waitForConfirmation " locator1 = " CPRecyclebin#CONFIRMATION " value1 = " Are you sure you want to empty the Recycle Bin? " />
                </ then >
              </ if >
            </ execute >
          </ execute >
        • 13
          < execute macro = " DMFolder#tearDownCP " >
          • 306
            < execute macro = " Page#gotoContentCP " >
            < var name = "portletName" value = "Documents and Media" />
            307

            • 184
              < execute macro = " Page#gotoCmdCP " >
              < var name = "portletCategoryKey" value = "ADMIN_SITE_ADMINISTRATION_CONTENT" />
              185

              < var name = "portletCategoryName" value = "Content" />
              186

              < var name = "portletName" value = "${portletName}" />
              187

              • 124
                < if >
                • 125
                  < isset var = " nodePort " />
                • 126
                  < then >
                  • 127
                    < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                  </ then >
                • 129
                  < else >
                  • 130
                    < execute macro = " Page#openURL " >
                    • 329
                      < if >
                      • 330
                        < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                      • 331
                        < then >
                        • 332
                          < var name = " pageAccessURL " value = " /group " />
                        </ then >
                      • 334
                        < else >
                        • 335
                          < var name = " pageAccessURL " value = " /web " />
                        </ else >
                      </ if >
                    • 339
                      < if >
                      • 340
                        < and >
                        • 341
                          < isset var = " siteName " />
                        • 342
                          < equals arg1 = " ${siteURL} " arg2 = " true " />
                        </ and >
                      • 344
                        < then >
                        • 345
                          < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                        • 346
                          < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                        </ then >
                      • 348
                        < elseif >
                        • 349
                          < isset var = " friendlyURL " />
                        • 350
                          < then >
                          • 351
                            < var name = " siteNameURL " value = " /${friendlyURL} " />
                          </ then >
                        </ elseif >
                      • 354
                        < else >
                        • 355
                          < var name = " siteNameURL " value = " /guest " />
                        </ else >
                      </ if >
                    • 359
                      < if >
                      • 360
                        < equals arg1 = " ${pageStaging} " arg2 = " true " />
                      • 361
                        < then >
                        • 362
                          < var name = " pageStagingURL " value = " -staging " />
                        </ then >
                      • 364
                        < else >
                        • 365
                          < var name = " pageStagingURL " value = " " />
                        </ else >
                      </ if >
                    • 369
                      < if >
                      • 370
                        < isset var = " virtualHostsURL " />
                      • 371
                        < then >
                        • 372
                          < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                        • 374
                          < execute function = " Open " locator1 = " ${siteNameURL} " />
                        </ then >
                      • 376
                        < elseif >
                        • 377
                          < isset var = " specificURL " />
                        • 378
                          < then >
                          • 379
                            < execute function = " Open " locator1 = " ${specificURL} " />
                          </ then >
                        </ elseif >
                      • 382
                        < else >
                        • 383
                          < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                        </ else >
                      </ if >
                    </ execute >
                  </ else >
                </ if >
              • 134
                < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
              • 135
                < execute function = " AssertClick " locator1 = " Dockbar#${portletCategoryKey} " value1 = " ${portletCategoryName} " />
              • 137
                < if >
                • 138
                  < isset var = " siteScopeName " />
                • 139
                  < then >
                  • 140
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR " />
                  • 142
                    < var name = " key_siteScopeName " value = " ${siteScopeName} " />
                  • 144
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR_MENULIST_ITEM " />
                  </ then >
                </ if >
              • 148
                < var name = " key_portletCategoryName " value = " ${portletCategoryName} " />
              • 150
                < if >
                • 152
                  < then >
                  • 153
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED " value1 = " ${portletCategoryName} " />
                  • 155
                    < execute function = " AssertTextEquals " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_EXPANDED " value1 = " ${portletCategoryName} " />
                  </ then >
                </ if >
              • 159
                < if >
                • 160
                  < not >
                  • 161
                    < contains string = " ${portletName} " substring = " {portletName} " />
                  </ not >
                • 163
                  < then >
                  • 164
                    < var name = " key_portletName " value = " ${portletName} " />
                  • 166
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_NAVIGATION " value1 = " ${portletName} " />
                  </ then >
                </ if >
              </ execute >
            </ execute >
          • 310
            < if >
            • 312
              < then >
              • 313
                < execute function = " Check " locator1 = " CPDocumentsandmedia#TOOLBAR_SELECT_ALL_ROWS_CHECKBOX " />
              • 314
                < execute function = " AssertClick#waitForDMHomeAssertTextEqualsClick " locator1 = " CPDocumentsandmedia#TOOLBAR_ACTIONS " value1 = " Actions " />
              • 315
                < execute function = " AssertElementPresent " locator1 = " CPDocumentsandmedia#ACTIONS_MENULIST_MOVE_TO_THE_RECYCLE_BIN " />
              • 316
                < execute function = " AssertClick " locator1 = " CPDocumentsandmedia#ACTIONS_MENULIST_MOVE_TO_THE_RECYCLE_BIN " value1 = " Move to the Recycle Bin " />
              </ then >
            </ if >
          • 320
            < execute macro = " Page#gotoContentCP " >
            < var name = "portletName" value = "Recycle Bin" />
            321

            • 184
              < execute macro = " Page#gotoCmdCP " >
              < var name = "portletCategoryKey" value = "ADMIN_SITE_ADMINISTRATION_CONTENT" />
              185

              < var name = "portletCategoryName" value = "Content" />
              186

              < var name = "portletName" value = "${portletName}" />
              187

              • 124
                < if >
                • 125
                  < isset var = " nodePort " />
                • 126
                  < then >
                  • 127
                    < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                  </ then >
                • 129
                  < else >
                  • 130
                    < execute macro = " Page#openURL " >
                    • 329
                      < if >
                      • 330
                        < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                      • 331
                        < then >
                        • 332
                          < var name = " pageAccessURL " value = " /group " />
                        </ then >
                      • 334
                        < else >
                        • 335
                          < var name = " pageAccessURL " value = " /web " />
                        </ else >
                      </ if >
                    • 339
                      < if >
                      • 340
                        < and >
                        • 341
                          < isset var = " siteName " />
                        • 342
                          < equals arg1 = " ${siteURL} " arg2 = " true " />
                        </ and >
                      • 344
                        < then >
                        • 345
                          < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                        • 346
                          < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                        </ then >
                      • 348
                        < elseif >
                        • 349
                          < isset var = " friendlyURL " />
                        • 350
                          < then >
                          • 351
                            < var name = " siteNameURL " value = " /${friendlyURL} " />
                          </ then >
                        </ elseif >
                      • 354
                        < else >
                        • 355
                          < var name = " siteNameURL " value = " /guest " />
                        </ else >
                      </ if >
                    • 359
                      < if >
                      • 360
                        < equals arg1 = " ${pageStaging} " arg2 = " true " />
                      • 361
                        < then >
                        • 362
                          < var name = " pageStagingURL " value = " -staging " />
                        </ then >
                      • 364
                        < else >
                        • 365
                          < var name = " pageStagingURL " value = " " />
                        </ else >
                      </ if >
                    • 369
                      < if >
                      • 370
                        < isset var = " virtualHostsURL " />
                      • 371
                        < then >
                        • 372
                          < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                        • 374
                          < execute function = " Open " locator1 = " ${siteNameURL} " />
                        </ then >
                      • 376
                        < elseif >
                        • 377
                          < isset var = " specificURL " />
                        • 378
                          < then >
                          • 379
                            < execute function = " Open " locator1 = " ${specificURL} " />
                          </ then >
                        </ elseif >
                      • 382
                        < else >
                        • 383
                          < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                        </ else >
                      </ if >
                    </ execute >
                  </ else >
                </ if >
              • 134
                < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
              • 135
                < execute function = " AssertClick " locator1 = " Dockbar#${portletCategoryKey} " value1 = " ${portletCategoryName} " />
              • 137
                < if >
                • 138
                  < isset var = " siteScopeName " />
                • 139
                  < then >
                  • 140
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR " />
                  • 142
                    < var name = " key_siteScopeName " value = " ${siteScopeName} " />
                  • 144
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR_MENULIST_ITEM " />
                  </ then >
                </ if >
              • 148
                < var name = " key_portletCategoryName " value = " ${portletCategoryName} " />
              • 150
                < if >
                • 152
                  < then >
                  • 153
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED " value1 = " ${portletCategoryName} " />
                  • 155
                    < execute function = " AssertTextEquals " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_EXPANDED " value1 = " ${portletCategoryName} " />
                  </ then >
                </ if >
              • 159
                < if >
                • 160
                  < not >
                  • 161
                    < contains string = " ${portletName} " substring = " {portletName} " />
                  </ not >
                • 163
                  < then >
                  • 164
                    < var name = " key_portletName " value = " ${portletName} " />
                  • 166
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_NAVIGATION " value1 = " ${portletName} " />
                  </ then >
                </ if >
              </ execute >
            </ execute >
          • 324
            < execute macro = " RecycleBin#emptyCP " >
            • 16
              < if >
              • 18
                < then >
                • 19
                  < execute function = " AssertClickNoError " locator1 = " CPRecyclebin#EMPTY_RECYCLE_BIN " value1 = " Empty the Recycle Bin " />
                • 20
                  < execute function = " Confirm#waitForConfirmation " locator1 = " CPRecyclebin#CONFIRMATION " value1 = " Are you sure you want to empty the Recycle Bin? " />
                </ then >
              </ if >
            </ execute >
          </ execute >
        • 15
          < execute macro = " Vocabulary#tearDownCP " >
          • 171
            < execute macro = " Page#gotoContentCP " >
            < var name = "portletName" value = "Categories" />
            172

            • 184
              < execute macro = " Page#gotoCmdCP " >
              < var name = "portletCategoryKey" value = "ADMIN_SITE_ADMINISTRATION_CONTENT" />
              185

              < var name = "portletCategoryName" value = "Content" />
              186

              < var name = "portletName" value = "${portletName}" />
              187

              • 124
                < if >
                • 125
                  < isset var = " nodePort " />
                • 126
                  < then >
                  • 127
                    < execute function = " Open " locator1 = " http://localhost:${nodePort} " />
                  </ then >
                • 129
                  < else >
                  • 130
                    < execute macro = " Page#openURL " >
                    • 329
                      < if >
                      • 330
                        < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                      • 331
                        < then >
                        • 332
                          < var name = " pageAccessURL " value = " /group " />
                        </ then >
                      • 334
                        < else >
                        • 335
                          < var name = " pageAccessURL " value = " /web " />
                        </ else >
                      </ if >
                    • 339
                      < if >
                      • 340
                        < and >
                        • 341
                          < isset var = " siteName " />
                        • 342
                          < equals arg1 = " ${siteURL} " arg2 = " true " />
                        </ and >
                      • 344
                        < then >
                        • 345
                          < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                        • 346
                          < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                        </ then >
                      • 348
                        < elseif >
                        • 349
                          < isset var = " friendlyURL " />
                        • 350
                          < then >
                          • 351
                            < var name = " siteNameURL " value = " /${friendlyURL} " />
                          </ then >
                        </ elseif >
                      • 354
                        < else >
                        • 355
                          < var name = " siteNameURL " value = " /guest " />
                        </ else >
                      </ if >
                    • 359
                      < if >
                      • 360
                        < equals arg1 = " ${pageStaging} " arg2 = " true " />
                      • 361
                        < then >
                        • 362
                          < var name = " pageStagingURL " value = " -staging " />
                        </ then >
                      • 364
                        < else >
                        • 365
                          < var name = " pageStagingURL " value = " " />
                        </ else >
                      </ if >
                    • 369
                      < if >
                      • 370
                        < isset var = " virtualHostsURL " />
                      • 371
                        < then >
                        • 372
                          < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                        • 374
                          < execute function = " Open " locator1 = " ${siteNameURL} " />
                        </ then >
                      • 376
                        < elseif >
                        • 377
                          < isset var = " specificURL " />
                        • 378
                          < then >
                          • 379
                            < execute function = " Open " locator1 = " ${specificURL} " />
                          </ then >
                        </ elseif >
                      • 382
                        < else >
                        • 383
                          < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                        </ else >
                      </ if >
                    </ execute >
                  </ else >
                </ if >
              • 134
                < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
              • 135
                < execute function = " AssertClick " locator1 = " Dockbar#${portletCategoryKey} " value1 = " ${portletCategoryName} " />
              • 137
                < if >
                • 138
                  < isset var = " siteScopeName " />
                • 139
                  < then >
                  • 140
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR " />
                  • 142
                    < var name = " key_siteScopeName " value = " ${siteScopeName} " />
                  • 144
                    < execute function = " Click " locator1 = " Home#SCOPE_SELECTOR_MENULIST_ITEM " />
                  </ then >
                </ if >
              • 148
                < var name = " key_portletCategoryName " value = " ${portletCategoryName} " />
              • 150
                < if >
                • 152
                  < then >
                  • 153
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_COLLAPSED " value1 = " ${portletCategoryName} " />
                  • 155
                    < execute function = " AssertTextEquals " locator1 = " Home#SITE_ADMINISTRATION_CATEGORY_EXPANDED " value1 = " ${portletCategoryName} " />
                  </ then >
                </ if >
              • 159
                < if >
                • 160
                  < not >
                  • 161
                    < contains string = " ${portletName} " substring = " {portletName} " />
                  </ not >
                • 163
                  < then >
                  • 164
                    < var name = " key_portletName " value = " ${portletName} " />
                  • 166
                    < execute function = " AssertClick#assertPartialTextClickAtCPNavigation " locator1 = " Home#SITE_ADMINISTRATION_NAVIGATION " value1 = " ${portletName} " />
                  </ then >
                </ if >
              </ execute >
            </ execute >
          • 175
            < if >
            • 177
              < then >
              • 178
                < execute function = " Check " locator1 = " CPCategories#ALL_VOCABULARIES_CHECKBOX " />
              • 179
                < execute function = " AssertClick " locator1 = " CPCategories#ACTIONS_BUTTON " value1 = " Actions " />
              • 180
                < execute function = " AssertClickNoError " locator1 = " CPCategories#ACTIONS_MENULIST_DELETE " value1 = " Delete " />
              • 181
                < execute function = " Confirm " locator1 = " CPCategories#CONFIRMATION " value1 = " Are you sure you want to delete the selected vocabularies? " />
              • 182
                < execute function = " AssertTextEquals " locator1 = " CPCategories#INFO_MESSAGE " value1 = " There are no categories. " />
              </ then >
            </ if >
          </ execute >
        • 17
          < execute macro = " Page#tearDownPG " >
          • 406
            < execute macro = " Page#openURL " >
            • 329
              < if >
              • 330
                < equals arg1 = " ${pageAccess} " arg2 = " Private " />
              • 331
                < then >
                • 332
                  < var name = " pageAccessURL " value = " /group " />
                </ then >
              • 334
                < else >
                • 335
                  < var name = " pageAccessURL " value = " /web " />
                </ else >
              </ if >
            • 339
              < if >
              • 340
                < and >
                • 341
                  < isset var = " siteName " />
                • 342
                  < equals arg1 = " ${siteURL} " arg2 = " true " />
                </ and >
              • 344
                < then >
                • 345
                  < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                • 346
                  < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                </ then >
              • 348
                < elseif >
                • 349
                  < isset var = " friendlyURL " />
                • 350
                  < then >
                  • 351
                    < var name = " siteNameURL " value = " /${friendlyURL} " />
                  </ then >
                </ elseif >
              • 354
                < else >
                • 355
                  < var name = " siteNameURL " value = " /guest " />
                </ else >
              </ if >
            • 359
              < if >
              • 360
                < equals arg1 = " ${pageStaging} " arg2 = " true " />
              • 361
                < then >
                • 362
                  < var name = " pageStagingURL " value = " -staging " />
                </ then >
              • 364
                < else >
                • 365
                  < var name = " pageStagingURL " value = " " />
                </ else >
              </ if >
            • 369
              < if >
              • 370
                < isset var = " virtualHostsURL " />
              • 371
                < then >
                • 372
                  < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                • 374
                  < execute function = " Open " locator1 = " ${siteNameURL} " />
                </ then >
              • 376
                < elseif >
                • 377
                  < isset var = " specificURL " />
                • 378
                  < then >
                  • 379
                    < execute function = " Open " locator1 = " ${specificURL} " />
                  </ then >
                </ elseif >
              • 382
                < else >
                • 383
                  < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                </ else >
              </ if >
            </ execute >
          • 408
            < while >
            • 410
              < then >
              • 411
                < execute function = " MouseOver#mouseOverClickNavigation " locator1 = " Home#PAGE_2 " />
              • 412
                < execute function = " ClickNoError " locator1 = " Home#PAGE_DELETE " />
              • 413
                < execute function = " Confirm " value1 = " Are you sure you want to delete this page? " />
              • 414
                < execute function = " AssertElementNotPresent#assertElementNotPresentClickDockbar " locator1 = " Home#PAGE_DELETE " />
              </ then >
            </ while >
          </ execute >
        • 19
          < execute macro = " User#tearDownCP " >
          • 2
            < var name = " password " value = " test " />
          • 3
            < var name = " userEmailAddress " value = " test@liferay.com " />
          • 1413
            < var name = " userFirstName " value = " userfn* " />
          • 1415
            < execute macro = " Page#gotoCP " >
            < var name = "portletName" value = "Users and Organizations" />
            1416

            • 194
              < execute macro = " Page#openURL " >
              • 329
                < if >
                • 330
                  < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                • 331
                  < then >
                  • 332
                    < var name = " pageAccessURL " value = " /group " />
                  </ then >
                • 334
                  < else >
                  • 335
                    < var name = " pageAccessURL " value = " /web " />
                  </ else >
                </ if >
              • 339
                < if >
                • 340
                  < and >
                  • 341
                    < isset var = " siteName " />
                  • 342
                    < equals arg1 = " ${siteURL} " arg2 = " true " />
                  </ and >
                • 344
                  < then >
                  • 345
                    < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                  • 346
                    < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                  </ then >
                • 348
                  < elseif >
                  • 349
                    < isset var = " friendlyURL " />
                  • 350
                    < then >
                    • 351
                      < var name = " siteNameURL " value = " /${friendlyURL} " />
                    </ then >
                  </ elseif >
                • 354
                  < else >
                  • 355
                    < var name = " siteNameURL " value = " /guest " />
                  </ else >
                </ if >
              • 359
                < if >
                • 360
                  < equals arg1 = " ${pageStaging} " arg2 = " true " />
                • 361
                  < then >
                  • 362
                    < var name = " pageStagingURL " value = " -staging " />
                  </ then >
                • 364
                  < else >
                  • 365
                    < var name = " pageStagingURL " value = " " />
                  </ else >
                </ if >
              • 369
                < if >
                • 370
                  < isset var = " virtualHostsURL " />
                • 371
                  < then >
                  • 372
                    < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                  • 374
                    < execute function = " Open " locator1 = " ${siteNameURL} " />
                  </ then >
                • 376
                  < elseif >
                  • 377
                    < isset var = " specificURL " />
                  • 378
                    < then >
                    • 379
                      < execute function = " Open " locator1 = " ${specificURL} " />
                    </ then >
                  </ elseif >
                • 382
                  < else >
                  • 383
                    < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                  </ else >
                </ if >
              </ execute >
            • 196
              < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
            • 197
              < execute function = " AssertClick " locator1 = " Dockbar#ADMIN_CONTROL_PANEL " value1 = " Control Panel " />
            • 199
              < if >
              • 200
                < isset var = " portletName " />
              • 201
                < then >
                • 202
                  < var name = " key_portletName " value = " ${portletName} " />
                • 204
                  < execute function = " Click#click " locator1 = " Home#CONTROL_PANEL_NAVIGATION " />
                </ then >
              </ if >
            </ execute >
          • 1419
            < execute macro = " User#deactivateCP " >
            • 2
              < var name = " password " value = " test " />
            • 3
              < var name = " userEmailAddress " value = " test@liferay.com " />
            • 910
              < execute function = " AssertClick " locator1 = " CPUsersandorganizations#SEARCH_ALL_USERS " value1 = " All Users " />
            • 912
              < execute function = " Type " locator1 = " CPUsersandorganizationsViewusers#BASIC_SEARCH_FIELD " value1 = " ${userFirstName} " />
            • 913
              < execute function = " AssertClick#assertTextClickAtAndWait " locator1 = " CPUsersandorganizationsViewusers#BASIC_SEARCH_BUTTON " value1 = " Search " />
            • 915
              < if >
              • 916
                < equals arg1 = " ${deactivateType} " arg2 = " Actions " />
              • 917
                < then >
                • 918
                  < var name = " key_userScreenName " value = " ${userScreenName} " />
                • 920
                  < execute function = " Click " locator1 = " CPUsersandorganizationsViewusers#USER_TABLE_ACTIONS " value1 = " Actions " />
                • 921
                  < execute function = " AssertClickNoError " locator1 = " CPUsersandorganizationsViewusers#USER_MENULIST_DEACTIVATE " value1 = " Deactivate " />
                • 922
                  < execute function = " Confirm " locator1 = " CPUsersandorganizationsViewusers#CONFIRMATION " value1 = " Are you sure you want to deactivate this? " />
                • 923
                  < execute function = " AssertTextEquals " locator1 = " CPUsersandorganizationsViewusers#SUCCESS_MESSAGE " value1 = " Your request completed successfully. " />
                </ then >
              • 925
                < elseif >
                • 926
                  < equals arg1 = " ${deactivateType} " arg2 = " Deactivate Button " />
                • 927
                  < then >
                  • 928
                    < var name = " key_userScreenName " value = " ${userScreenName} " />
                  • 930
                    < execute function = " Check " locator1 = " CPUsersandorganizationsViewusers#USER_TABLE_ALL_CHECKBOX " />
                  • 931
                    < execute function = " AssertClickNoError " locator1 = " CPUsersandorganizationsViewusers#DEACTIVATE " value1 = " Deactivate " />
                  • 932
                    < execute function = " Confirm " locator1 = " CPUsersandorganizationsViewusers#CONFIRMATION " value1 = " Are you sure you want to deactivate the selected users? " />
                  • 933
                    < execute function = " AssertTextEquals " locator1 = " CPUsersandorganizationsViewusers#SUCCESS_MESSAGE " value1 = " Your request completed successfully. " />
                  </ then >
                </ elseif >
              • 936
                < elseif >
                • 938
                  < then >
                  • 939
                    < execute function = " Check " locator1 = " CPUsersandorganizationsViewusers#USER_TABLE_ALL_CHECKBOX " />
                  • 940
                    < execute function = " AssertClickNoError " locator1 = " CPUsersandorganizationsViewusers#DEACTIVATE " value1 = " Deactivate " />
                  • 941
                    < execute function = " Confirm " locator1 = " CPUsersandorganizationsViewusers#CONFIRMATION " value1 = " Are you sure you want to deactivate the selected users? " />
                  • 942
                    < execute function = " AssertTextEquals " locator1 = " CPUsersandorganizationsViewusers#SUCCESS_MESSAGE " value1 = " Your request completed successfully. " />
                  </ then >
                </ elseif >
              </ if >
            • 947
              < execute function = " AssertTextEquals " locator1 = " CPUsersandorganizationsViewusers#INFO_MESSAGE " value1 = " No users were found. " />
            • 948
              < execute function = " AssertElementNotPresent " locator1 = " CPUsersandorganizationsViewusers#DEACTIVATE " value1 = " Deactivate " />
            </ execute >
          • 1421
            < execute macro = " Page#gotoCP " >
            < var name = "portletName" value = "Users and Organizations" />
            1422

            • 194
              < execute macro = " Page#openURL " >
              • 329
                < if >
                • 330
                  < equals arg1 = " ${pageAccess} " arg2 = " Private " />
                • 331
                  < then >
                  • 332
                    < var name = " pageAccessURL " value = " /group " />
                  </ then >
                • 334
                  < else >
                  • 335
                    < var name = " pageAccessURL " value = " /web " />
                  </ else >
                </ if >
              • 339
                < if >
                • 340
                  < and >
                  • 341
                    < isset var = " siteName " />
                  • 342
                    < equals arg1 = " ${siteURL} " arg2 = " true " />
                  </ and >
                • 344
                  < then >
                  • 345
                    < var name = " siteNameURL " value = " ${siteName?replace(' ', '-')} " />
                  • 346
                    < var name = " siteNameURL " value = " /${siteNameURL?lowercase()} " />
                  </ then >
                • 348
                  < elseif >
                  • 349
                    < isset var = " friendlyURL " />
                  • 350
                    < then >
                    • 351
                      < var name = " siteNameURL " value = " /${friendlyURL} " />
                    </ then >
                  </ elseif >
                • 354
                  < else >
                  • 355
                    < var name = " siteNameURL " value = " /guest " />
                  </ else >
                </ if >
              • 359
                < if >
                • 360
                  < equals arg1 = " ${pageStaging} " arg2 = " true " />
                • 361
                  < then >
                  • 362
                    < var name = " pageStagingURL " value = " -staging " />
                  </ then >
                • 364
                  < else >
                  • 365
                    < var name = " pageStagingURL " value = " " />
                  </ else >
                </ if >
              • 369
                < if >
                • 370
                  < isset var = " virtualHostsURL " />
                • 371
                  < then >
                  • 372
                    < var name = " siteNameURL " value = " ${virtualHostsURL} " />
                  • 374
                    < execute function = " Open " locator1 = " ${siteNameURL} " />
                  </ then >
                • 376
                  < elseif >
                  • 377
                    < isset var = " specificURL " />
                  • 378
                    < then >
                    • 379
                      < execute function = " Open " locator1 = " ${specificURL} " />
                    </ then >
                  </ elseif >
                • 382
                  < else >
                  • 383
                    < execute function = " Open " locator1 = " ${pageAccessURL}${siteNameURL}${pageStagingURL} " />
                  </ else >
                </ if >
              </ execute >
            • 196
              < execute function = " AssertClick#assertTextClickAtClickDockbar " locator1 = " Dockbar#ADMIN " value1 = " Admin " />
            • 197
              < execute function = " AssertClick " locator1 = " Dockbar#ADMIN_CONTROL_PANEL " value1 = " Control Panel " />
            • 199
              < if >
              • 200
                < isset var = " portletName " />
              • 201
                < then >
                • 202
                  < var name = " key_portletName " value = " ${portletName} " />
                • 204
                  < execute function = " Click#click " locator1 = " Home#CONTROL_PANEL_NAVIGATION " />
                </ then >
              </ if >
            </ execute >
          • 1425
            < execute macro = " User#deleteCP " >
            • 2
              < var name = " password " value = " test " />
            • 3
              < var name = " userEmailAddress " value = " test@liferay.com " />
            • 952
              < execute function = " AssertClick " locator1 = " CPUsersandorganizations#SEARCH_ALL_USERS " value1 = " All Users " />
            • 954
              < execute function = " Click " locator1 = " CPUsersandorganizationsViewusers#BASIC_SEARCH_ADVANCED " />
            • 955
              < execute function = " Type " locator1 = " CPUsersandorganizationsViewusers#ADVANCED_SEARCH_FIRST_NAME_FIELD " value1 = " ${userFirstName} " />
            • 956
              < execute function = " Select " locator1 = " CPUsersandorganizationsViewusers#ADVANCED_SEARCH_STATUS_SELECT " value1 = " Inactive " />
            • 957
              < execute function = " AssertClick#assertTextClickAtAndWait " locator1 = " CPUsersandorganizationsViewusers#BASIC_SEARCH_BUTTON " value1 = " Search " />
            • 959
              < if >
              • 961
                < then >
                • 962
                  < execute function = " Check " locator1 = " CPUsersandorganizationsViewusers#USER_TABLE_ALL_CHECKBOX " />
                • 963
                  < execute function = " AssertClickNoError " locator1 = " CPUsersandorganizationsViewusers#DELETE " value1 = " Delete " /&ggt;
                • 964
                  < execute function = " Confirm " locator1 = " CPUsersandorganizationsViewusers#CONFIRMATION " value1 = " Are you sure you want to permanently delete the selected users? " />
                • 965
                  < execute function = " AssertTextEquals " locator1 = " CPUsersandorganizationsViewusers#SUCCESS_MESSAGE " value1 = " Your request completed successfully. " />
                </ then >
              </ if >
            • 969
              < execute function = " AssertTextEquals " locator1 = " CPUsersandorganizationsViewusers#INFO_MESSAGE " value1 = " No users were found. " />
            • 970
              < execute function = " AssertElementNotPresent " locator1 = " CPUsersandorganizationsViewusers#DELETE " value1 = " Delete " />
            </ execute >
          </ execute >
        </ tear-down >